Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does performSelectorOnMainThread: preserve order?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.