> On 22 Mar 2016, at 5:33 PM, Trygve Inda <[email protected]> wrote: > > 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.
So just let it run as fast as possible. The whole point of threads is to let them work as hard as they need to and the scheduler will take care of giving other stuff the time they need. If the work is self-contained, in that it isn’t blocking other code, you won’t even notice it. It sounds like you’re trying to optimise based on faulty reasoning. —Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
