Re: -[NSThread start] blocks ?!?
Re: -[NSThread start] blocks ?!?
- Subject: Re: -[NSThread start] blocks ?!?
- From: Jens Alfke <email@hidden>
- Date: Sun, 27 Sep 2015 21:18:50 -0700
—Jens
> On Sep 27, 2015, at 8:49 PM, Jerry Krinock <email@hidden> wrote:
>
> My point is that if we can’t at least rely on -[NSThread start] returning before the secondary starts, there is no way for a seconary thread to call back to the main thread without possibility of deadlock.
Why?
You do realize that people managed to use NSThread successfully for years before GCD was introduced.
But if you don't like NSThread's behavior, just use GCD instead.
--Jens
_______________________________________________
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