Re: is NSNotificationCenter thread safe?
Re: is NSNotificationCenter thread safe?
- Subject: Re: is NSNotificationCenter thread safe?
- From: Chuck Hill <email@hidden>
- Date: Wed, 4 Jun 2008 10:32:31 -0700
On Jun 4, 2008, at 1:56 AM, Freddie Tilley wrote:
Is the java version of NSNotificationCenter thread safe?
Yes, it is used by WebObjects internally to broadcast EOF and other
changes across threads.
And does it support posting from on thread to another similiar the
Object-C version of NSDistributedNotificationCenter
Notifications are broadcast in the same thread context that they are
sent in. It is up to the threads getting the notification to handle
the appropriately for whatever work they are engaged in. I am not
sure if that answers your question or not.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden