Re: NSOperation NSOperationQueue
Re: NSOperation NSOperationQueue
- Subject: Re: NSOperation NSOperationQueue
- From: "I. Savant" <email@hidden>
- Date: Wed, 24 Sep 2008 12:13:44 -0400
On Wed, Sep 24, 2008 at 11:56 AM, Sandro Noel <email@hidden> wrote:
> I need a clarification about the NSOpration ans NSOperationQueue
> ...
> If I use NSOperation, override only the main method, I get a non concurrent
> object to run a particular piece of code.
> Stack these lovely objects in an operationQueue and set
> setMaxConcurrentOperationCount to 4.
> The Queue itself is the one managing the concurrency. and I will have 4
> operations runing at the same time?
I'm not sure exactly what you're asking, but might it have something
to do with the topic covered in the "Concurrent Versus Non-Concurrent
Operations" section here?
http://developer.apple.com/documentation/Cocoa/Reference/NSOperation_class/Reference/Reference.html
--
I.S.
_______________________________________________
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