Re: receptionist pattern question: NSOperationQueue vs. GCD
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