• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Threading and Event Queue Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Threading and Event Queue Question
      • From: Nick Zitzmann <email@hidden>
    • Re: Threading and Event Queue Question
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: CoreData warning: File.children -- to-many relationship does not have an inverse:
  • Next by Date: Re: Using NSNotificationCenter passing an object or value?
  • Previous by thread: Re: CoreData warning: File.children -- to-many relationship does not have an inverse:
  • Next by thread: Re: Threading and Event Queue Question
  • Index(es):
    • Date
    • Thread