Re: NSThread to NSOperation and blockUntil
Re: NSThread to NSOperation and blockUntil
- Subject: Re: NSThread to NSOperation and blockUntil
- From: Quincey Morris <email@hidden>
- Date: Mon, 21 Mar 2016 21:49:37 -0700
- Feedback-id: 167118m:167118agrif8a:167118stnOHP5KT7:SMTPCORP
On Mar 21, 2016, at 18:07 , Trygve Inda <email@hidden> wrote:
>
> I would like to move this to NSOperation and NSOperationQueue but I see no
> way to replicate this behavior.
I think the GCD/NSOperationQueue concept of “background” quality of service is what you want here. That would let your re-factored calculations run at full speed during system idle times, using multiple CPUs, until CPU resources were needed for something of higher quality service. At that time, your background calculation would be throttled back until the system goes idle again.
_______________________________________________
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