• 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: NSOperation Efficiency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOperation Efficiency


  • Subject: Re: NSOperation Efficiency
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 05 Dec 2012 07:35:09 -0800

On Tue, Dec 4, 2012, at 08:00 PM, Jens Alfke wrote:
> Apologies, but I have trouble believing that. Isn’t NSOperationQueue just
> a thin veneer around GCD?

By the way, it's worth pointing out that NSOperationQueue is NOT a thin
veneer around GCD.

Blocks submitted to an NSOperationQueue are dispatched to a common,
default-priority concurrent GCD queue. (It might even be the global
default concurrent queue.) There is NOT a 1:1 correspondence between
NSOperationQueue instances and GCD queues.

In order to actually implement the "queue" bit, NSOperationQueue uses
KVO.

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


References: 
 >NSOperation Efficiency (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSOperation Efficiency (From: Kyle Sluder <email@hidden>)
 >Re: NSOperation Efficiency (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSOperation Efficiency (From: Kyle Sluder <email@hidden>)
 >Re: NSOperation Efficiency (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Operations Beachball
  • Next by Date: Re: NSOperation Efficiency
  • Previous by thread: Re: NSOperation Efficiency
  • Next by thread: Re: NSOperation Efficiency
  • Index(es):
    • Date
    • Thread