Does performSelectorOnMainThread: preserve order?
Does performSelectorOnMainThread: preserve order?
- Subject: Does performSelectorOnMainThread: preserve order?
- From: "Hamish Allan" <email@hidden>
- Date: Thu, 28 Feb 2008 22:31:40 +0000
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., with
waitUntilDone:NO], the order in which the operations in the main
thread is done is the same as that in which they were added using this
method."
[additions mine]
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?
(This question was previously asked on this list in 2006
(http://lists.apple.com/archives/cocoa-dev/2006/Feb/msg01215.html),
but I can find no answer to it in the archives.)
Thanks,
Hamish
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden