Re: Can I create a thread with a runloop and a dispatch queue?
Re: Can I create a thread with a runloop and a dispatch queue?
- Subject: Re: Can I create a thread with a runloop and a dispatch queue?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 04 Oct 2013 11:12:36 -0700
On Fri, Oct 4, 2013, at 10:16 AM, Jens Alfke wrote:
> Basically, by calling a client-supplied block on its private internal
> queue, the implementation is exposing sensitive internal state to its
> callers. That seems like a really bad idea.
This jibes with my memory of Andy's argument, which I'm afraid is lost
to the annals of Twitter history.
However, there's a very cogent thread on GitHub about a the relative
(un)safety of letting queues escape your control, in the context of
dispatch_get_current_queue() and queue targeting:
//github.com/jspahrsummers/SafeDispatch/issues/1
--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