Does performSelectorOnMainThread: preserve order?

2008-02-28 Thread Hamish Allan
Hi, The GNUstep documentation for the NSObject(NSMainThreadPerformAdditions) category states the following for performSelectorOnMainThread: withObject: waitUntilDone: modes: Where this method has been called more than once before the runloop of the main thread runs in the required mode [i.e.,

Re: Does performSelectorOnMainThread: preserve order?

2008-02-28 Thread Kyle Sluder
On Thu, Feb 28, 2008 at 5:31 PM, Hamish Allan [EMAIL PROTECTED] wrote: However, there is no equivalent promise in Apple's documentation for NSObject; it is conspicuous in its absence. Can anyone confirm or deny that it has the same behaviour as in GNUstep? The documentation explicitly

Re: Does performSelectorOnMainThread: preserve order?

2008-02-28 Thread Hamish Allan
On Thu, Feb 28, 2008 at 10:48 PM, Kyle Sluder [EMAIL PROTECTED] wrote: The documentation explicitly describes -[NSObject performSelectorOnMainThread:withObject:waitUntilDone:] as queueing and dequeueing selectors on the main thread. It seems reasonable to assume they're not outright