On Tue, Aug 3, 2010 at 1:40 PM, Phil Hystad <phys...@mac.com> wrote:
> As an example, I noticed that each separate Tab of a Chrome browser instance 
> is itself a separate process.  Yet, each separate tab of Safari seems to be 
> folded into the single Safari process.  I have also noted that tabs in Safari 
> are totally independent of each other such that I can be playing music from 
> Pandora on one tab and watching a Netflix movie in another tab of the same 
> Safari instance.
>
> From my knowledge of the MS Windows platform (WPF for example), this cannot 
> be done.  That is, a process has a single event queue from which events are 
> dispatched (control events like mouse, timer, and so on).  Yet, on Apple 
> Cocoa it seems that you can have multiple event queues within a single 
> process.

This has nothing to do with multiple event queues. You're talking
about concurrency, which can be supported fine with just one event
queue. In Cocoa, the main thread is responsible for managing the app's
event queue. You'll find the same thing is done quite frequently on
Windows.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to