> It looks like I should just call dispatch_async, but I'm unsure which > dispatch queue to use. dispatch_get_main_queue only works for the main > thread. Can I use dispatch_get_current_queue? I'm unsure of what this does > when called on a background thread. The API docs say "If the call is made > from any other thread, this function returns the default concurrent queue" … > is that a queue associated with the thread's runloop, that's guaranteed to > execute tasks on that thread?
Where do they say that? That's surely wrong. The man page says that in that case it returns the default-priority global [serial] queue. http://developer.apple.com/library/mac/ipad/#documentation/Darwin/Reference/ManPages/man3/dispatch_get_main_queue.3.html _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
