Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3
iTunes 10 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
big_D wrote:
EddArmitage wrote:
big_D wrote:
Zune is similar, but the content isn't available outside of the USA - Windows Phone 7 will only sync with Zune, so expect it to appear soon though

What I've never got with Zune is that it's a completely separate program to WMP. Why??? Why can't they have one program for managing music/podcasts/stuff and ship it with the OS (producing a media-player free variant for silly Europeans). As it is, most people have WMP installed on their Windows box, but have to install the Zune software as well.

Microsoft's plan is to replace WMP with Zune, in the long run, but as they don't sell Zune hardware or support the Zune Pass outisde of America, it is taking a while to implement. The Windows Phone 7 is supposed to be the stealth world-wide release of Zune.

The one person who's let me touch her Zune will be glad to hear it.

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Mon Sep 13, 2010 9:28 am
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 7:26 pm
Posts: 17040
Reply with quote
ProfessorF wrote:
iTunes still uses multithreading, doesn't it? Just stuck in a poor Carbon way.

They have a bit of a problem about that. Quite a lot of the really cool multithread functionality - Grand Central Dispatch, for example - is only available on 10.6. As standard practice they tend to limit new iPods to the latest version of iTunes. If they made a new version of iTunes that only ran on 10.6, the next set of iPods/Phones etc they produced would then only work with 10.6, which would put a lot of people off (there are quite a lot of people still on 10.4, let alone 10.5).

I don't know how things go on the windows side, haven't done any windows programming in some time. But I'd imagine there's no equivalent to GCD on windows, so there'd be even more variation between the windows & mac iTunes, which isn't going to help.


Mon Sep 13, 2010 9:53 am
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
jonbwfc wrote:
ProfessorF wrote:
iTunes still uses multithreading, doesn't it? Just stuck in a poor Carbon way.

They have a bit of a problem about that. Quite a lot of the really cool multithread functionality - Grand Central Dispatch, for example - is only available on 10.6. As standard practice they tend to limit new iPods to the latest version of iTunes. If they made a new version of iTunes that only ran on 10.6, the next set of iPods/Phones etc they produced would then only work with 10.6, which would put a lot of people off (there are quite a lot of people still on 10.4, let alone 10.5).

But OS X has long supported multi-threading, they could write it directly using the multi-threading interface and move that section over to GCD when a majority of users are using 10.6 or later... Multi-tasking didn't just magically appear, when Apple release 10.6 with GCD, they just provided a set of high-level routines to make it easier.
jonbwfc wrote:
I don't know how things go on the windows side, haven't done any windows programming in some time. But I'd imagine there's no equivalent to GCD on windows, so there'd be even more variation between the windows & mac iTunes, which isn't going to help.

Windows has supported multi-threading since 1996, through a set of API calls, to spawn off new processes and checking flags etc. These are also available through the .Net framework (CLicky).

A simple procedure to count down seconds...
Code:
//Sample for C# tutorial on Multithreading using lock

public void Coundown()
{
    lock(this)
    {
        for(int i=4;i>=0;i--)
        {
            Console.WriteLine("{0} seconds to start",i);
    }
    Console.WriteLine("GO!!!!!");
}

}

Code to call the above function from 3 different threads, each runnning concurrently.
Code:
Launcher la = new Launcher();

Thread firstThread = new Thread(new ThreadStart(la.Coundown));
Thread secondThread =new Thread(new ThreadStart(la.Coundown));
Thread thirdThread = new Thread(new ThreadStart(la.Coundown));

firstThread.Start();
secondThread.Start();
thirdThread.Start();

_________________
"Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari

Executive Producer No Agenda Show 246


Mon Sep 13, 2010 11:50 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 33 posts ]  Go to page Previous  1, 2, 3

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.