On Tuesday, April 1, 2003, at 03:51 pm, Richard Frith-Macdonald wrote:


On 21st Feb I modified/fixed NSDistributedNotificationCenter.m so that
notifications could arrive in any thread. Before that, notifications would
only ever arrive in the thread which made the initial connection to the
distributed notification server (I considered this a minor bug).


I don't *think* you are supposed to make assumptions about which thread
a notification will arrive in ... but I'm not sure.

I checked the MacOS-X documentation ... and in the NSDistributedDocumentationCenter class description it specifically states that while notifications are usually delivered in the main thread, they may be delivered in other threads. So I think the base library behavior is correct, and the GNUmail code needs to be modified to use -performSelectorOnMainThread:withObject:waitUntilDone: to do the -updateStatusLabelWithMessage:




_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to