Threading and Event Queue Question
Threading and Event Queue Question
- Subject: Threading and Event Queue Question
- From: Phil Hystad <email@hidden>
- Date: Tue, 3 Aug 2010 13:40:40 -0700
I am not an experienced programmer in Cocoa -- I have only dabbled. But, I have a question with regard to how event queue (terminology may not be correct) is done differently then a windows platform.
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.
Is this true or am I barking up a wrong tree?
Thanks for your comments
phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden