> On Mar 21, 2016, at 18:07 , Trygve Inda <cocoa...@xericdesign.com> 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.
That is a possibility, but I still need to have the process done by a set time (unless it simply can't do it all even at 100%). So I need to be able to have a process done in 30 seconds for example.... At full speed it could be done in 4 seconds but I'd like it done with as little impact as possible. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com