Re: dispatch_sync() lockup workaround
Re: dispatch_sync() lockup workaround
- Subject: Re: dispatch_sync() lockup workaround
- From: Thomas Clément <email@hidden>
- Date: Wed, 20 Oct 2010 18:54:40 +0200
On 20 oct. 2010, at 03:15, Abhi Beckert wrote:
> According to the documentation dispatch_sync(dispatch_get_main_queue(), ^{ ... }) will lockup if you are already on the main queue.
Best is to use dispatch_async() instead.
Thomas_______________________________________________
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