Re: Exiting non-POSIX threads?
Re: Exiting non-POSIX threads?
- Subject: Re: Exiting non-POSIX threads?
- From: Ken Thomases <email@hidden>
- Date: Mon, 29 Jul 2013 09:47:23 -0500
On Jul 29, 2013, at 4:27 AM, Steve Sisak wrote:
> At 11:34 AM +0300 7/29/13, Oleg Krupnov wrote:
>> Is there a way to exit a GCD thread?
>
> There's no such thing as a "GCD thread" only queues.
>
> (OK, there's a pool of threads that GCD uses to service queues, but you don't own them)
And you must not try to exit them. This is clearly documented in the GCD docs.
https://developer.apple.com/library/ios/DOCUMENTATION/General/Conceptual/ConcurrencyProgrammingGuide/ThreadMigration/ThreadMigration.html#//apple_ref/doc/uid/TP40008091-CH105-SW18
Regards,
Ken
_______________________________________________
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