bug-gnustep
[Top][All Lists]
Advanced

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

Re: Recent drawing optimizations


From: Richard Frith-Macdonald
Subject: Re: Recent drawing optimizations
Date: Tue, 1 Apr 2003 18:10:24 +0100


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:





reply via email to

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