On Aug 26, 2013, at 11:11 AM, Ken Thomases <k...@codeweavers.com> wrote:
> 
> No.  Both methods are called on the main thread, so they can't run 
> simultaneously.

Ken, 

Thanks for the clarification. This actually raises a related point, one that 
I've repeatedly found myself asking in various situations (such as this one), 
in both iOS and Mac dev. Is there some global reference or quick way of 
determining (not in code, but in doc somewhere) whether a callback is called or 
not on the main thread? I have found myself continually having to inquire about 
that information when a callback ends up affecting the UI (which many do), to 
determine whether I've got to wrap UI component-affecting statements in a 
selector performed on the main thread. 

Thanks,

Brad
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to