• 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: receptionist pattern question: NSOperationQueue vs. GCD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: receptionist pattern question: NSOperationQueue vs. GCD


  • Subject: Re: receptionist pattern question: NSOperationQueue vs. GCD
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 16 Feb 2012 09:34:04 -0800

On Feb 16, 2012, at 8:09 AM, Matt Neuburg <email@hidden> wrote:

> On Wed, 15 Feb 2012 13:56:14 -0800, Kyle Sluder <email@hidden> said:
>>
>> On iOS, NSOperationQueue doesn't use GCD at all. On Mac OS X 10.6 and
>> greater, block-based NSOperations are submitted to global
>> (asynchronous) dispatch queue.
>
> Very useful; thanks to all who responded. m.

You're welcome, but I must correct myself: NSOperationQueue uses GCD on iOS 4 and higher. Not sure if the docs were recently updated or I was just remembering old material.

Either way, it's important to understand that there is not (necessarily) a 1:1 mapping of NSOperationQueues and GCD queues.

--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


  • Follow-Ups:
    • Re: receptionist pattern question: NSOperationQueue vs. GCD
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: receptionist pattern question: NSOperationQueue vs. GCD (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Sandbox - Security Scoped URLs (10.7.3)
  • Next by Date: Re: Block Behavior
  • Previous by thread: RE: receptionist pattern question: NSOperationQueue vs. GCD
  • Next by thread: Re: receptionist pattern question: NSOperationQueue vs. GCD
  • Index(es):
    • Date
    • Thread