Re: MultiProcessing & Cocoa...
Re: MultiProcessing & Cocoa...
- Subject: Re: MultiProcessing & Cocoa...
- From: Sherm Pendley <email@hidden>
- Date: Sat, 2 Feb 2002 20:26:01 -0500
On Saturday, February 2, 2002, at 08:04 PM, Jeff LaMarche wrote:
On one hand, some stuff seems to imply that since OS X is inherently MP
aware, that you don't need to do anything special to your apps to make
them take advantage of all the processors in a given machine. Other
things say that a program not compiled to take advantage of it will
only utilize one processor, but that the OS will balance loads as it
assigns which processor a non-MP-aware app goes to.
In a word - threads. The OS balances loads by assigning code to
processors, but it does so on a per-thread basis, not on a per-process
basis. For single-threaded applications, of course, it amounts to the
same thing.
sherm--