Re: Question on thread communication
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