Re: Exiting non-POSIX threads?
Re: Exiting non-POSIX threads?
- Subject: Re: Exiting non-POSIX threads?
- From: Kyle Sluder <email@hidden>
- Date: Thu, 01 Aug 2013 09:35:27 -0700
On Thu, Aug 1, 2013, at 07:55 AM, Richard Somers wrote:
> - (void)submitWorkToBeDone
> {
> dispatch_async(_queue, ^{
> for ( ... ) {
NEVER do this.
You don't own the thread. GCD does.
--Kyle Sluder
_______________________________________________
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