On 27 Nov 2009, at 17:22, David Chisnall wrote:

> Hi,
> 
> I've noticed a couple of places in the GNUstep source where the 
> NSNotificationCentre is cached the first time a class is created and then 
> used by all instances.  With the documented behaviour for the notification 
> centre on OS X, this will do undefined things when the instance is not in the 
> same thread as the one where the notification centre was created.  Does 
> GNUstep have some special logic for handling cross-thread notifications (and 
> is this documented somewhere) or are all of these uses potential bugs?

I'm not sure ... I think NSNotificationCenter is thread-safe in GNUstep ... 
what problems would that cause?

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to