Re: Limiting GCD concurrent queues
Re: Limiting GCD concurrent queues
- Subject: Re: Limiting GCD concurrent queues
- From: Carl Hoefs <email@hidden>
- Date: Fri, 08 May 2015 13:41:17 -0700
> On May 8, 2015, at 1:19 PM, Ken Thomases <email@hidden> wrote:
>
> You should use an NSOperationQueue. You can set its maxConcurrentOperationCount. You can add blocks to it using -addOperationWithBlock: or by instantiating NSBlockOperation objects and adding those with -addOperation:.
Awesome, thanks for the pointer to NSOperationQueue. Sounds just like what I was searching for.
-Carl
_______________________________________________
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