• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can I create a thread with a runloop and a dispatch queue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Mike Abdullah <email@hidden>
  • Date: Fri, 04 Oct 2013 00:01:04 +0100

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-ends.html


_______________________________________________

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


  • Follow-Ups:
    • Re: Can I create a thread with a runloop and a dispatch queue?
      • From: email@hidden
References: 
 >Re: Can I create a thread with a runloop and a dispatch queue? (From: Kyle Sluder <email@hidden>)
 >Re: Can I create a thread with a runloop and a dispatch queue? (From: Jens Alfke <email@hidden>)
 >Re: Can I create a thread with a runloop and a dispatch queue? (From: Mike Abdullah <email@hidden>)
 >Re: Can I create a thread with a runloop and a dispatch queue? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to get a "Normal" button in iOS 7/IB
  • Next by Date: txt file renamed to mp3, MPMoviePlayerPlaybackDidFinishReasonUserInfoKey returning 0
  • Previous by thread: Re: Can I create a thread with a runloop and a dispatch queue?
  • Next by thread: Re: Can I create a thread with a runloop and a dispatch queue?
  • Index(es):
    • Date
    • Thread