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 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]