[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notification centre and threads

From: David Chisnall
Subject: Notification centre and threads
Date: Fri, 27 Nov 2009 17:22:33 +0000


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?

-- Send from my Jacquard Loom

reply via email to

[Prev in Thread] Current Thread [Next in Thread]