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: email@hidden
- Date: Fri, 04 Oct 2013 13:09:17 +0900
Also
Advanced Mac OSX Programming
(Big Nerd Ranch)
By Mark Dalrymple
Covers CFRunLoop NSThread and GCD but not as deeply.
Sent from my iPhone
> On 2013/10/04, at 13:03, email@hidden wrote:
>
> There are books.
>
> Pro Multithreading and Memory Management for iOS and OSX
> (Apress)
> By Kazuki Sakamoto and Tomohiko Furumoto
>
> Actually not bad.
>
> Concurrent Programming in Mac OSX and ios
> (Oreilly)
> Vandad Nahavandipoor
>
> Not as thorough.
>
> Sent from my iPhone
>
>> On 2013/10/04, at 8:01, Mike Abdullah <email@hidden> wrote:
>>
>>
>>> On 3 Oct 2013, at 22:37, Jens Alfke <email@hidden> wrote:
>>>
>>>
>>>> On Oct 3, 2013, at 2:09 PM, Mike Abdullah <email@hidden> wrote:
>>>>
>>>> You can actually target a custom queue at any other queue you like, to create a whole chain of them. Work submitted to such queues ends up executing within the context of multiple queues at once.
>>>
>>> OK, this I did not know, despite (I thought) reading docs. Is this from a WWDC session or release note? Is there an actual book (hopefully from O’Reilly) covering GCD? (Apple’s docs are OK as far as they go, but like all hypertext they have the problem that you’re never entirely sure you’ve read everything.)
>>
>> I'm not aware of any books. The API in question is dispatch_set_target_queue(). I first understood the concept from Mike Ash's excellent series of articles: http://www.mikeash.com/pyblog/friday-qa-2009-09-18-intro-to-grand-central-dispatch-part-iv-odds-and-
_______________________________________________
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