• 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
Re: Question on thread communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on thread communication


  • Subject: Re: Question on thread communication
  • From: Kaelin Colclasure <email@hidden>
  • Date: Mon, 20 Mar 2006 11:56:40 -0800


On Mar 20, 2006, at 11:52 AM, Kaelin Colclasure wrote:

On Tiger and later systems, you can use Darwin notifications. Any thread can register for them, and they are trivial to post:

    notify_post("self.fileInitCompletedNotification");

If you elide the "self." prefix, they can even cross process boundaries.

I should rather say, "If you replace the "self." prefix with a reverse domain name prefix (e.g. "com.example.")..." (This mitigates the problem of name collisions.)


-- Kaelin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Threading and NSViews
      • From: Karim Morsy <email@hidden>
References: 
 >Question on thread communication (From: Karim Morsy <email@hidden>)
 >Re: Question on thread communication (From: Kaelin Colclasure <email@hidden>)

  • Prev by Date: Re: Question on thread communication
  • Next by Date: Re: NSString propertyList crash
  • Previous by thread: Re: Question on thread communication
  • Next by thread: Threading and NSViews
  • Index(es):
    • Date
    • Thread