Re: How to get the dispatch queue for the current thread's runloop?
Re: How to get the dispatch queue for the current thread's runloop?
- Subject: Re: How to get the dispatch queue for the current thread's runloop?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 27 Jan 2012 15:55:57 -0800
On Fri, Jan 27, 2012 at 3:52 PM, Jens Alfke <email@hidden> wrote:
> I think you've got it backwards. You're assuming I've got a dispatch queue
> and want to know the thread. But what I've actually got is a thread and I
> want a dispatch queue that will run on that thread (in synchrony with the
> runloop.)
This doesn't make sense. Runloops don't drive dispatch queues, except
for the main thread's runloop which runs the main queue. (If anyone
has proof to the contrary, I would very much welcome it.)
--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