On Mac OS X, the NSOperationQueue class regulates the execution of a set of NSOperation objects.
The NSOperationQueue
class regulates the execution of a set of NSOperation
(nsoperation) objects. After being added to a queue, an operation remains in that queue until it is explicitly canceled or finishes executing its task. Operations within the queue (but not yet executing) are themselves organized according to priority levels and inter-operation object dependencies and are executed accordingly. An application may create multiple operation queues and submit operations to any of them.