Please stay awake!

2013-12-09 Thread Jim Elliott
I have a program that solves problems that are very computationally intense. I divide up the work and create an NSOperation for each segment. Then I put the operations in NSOperationQueue, and start the queue. Expecting the job to take three or four hours, I go to dinner. When I return, and

Re: Please stay awake!

2013-12-09 Thread Greg Parker
On Dec 9, 2013, at 3:17 PM, Jim Elliott sjameselli...@me.com wrote: I have a program that solves problems that are very computationally intense. I divide up the work and create an NSOperation for each segment. Then I put the operations in NSOperationQueue, and start the queue. Expecting

Re: Please stay awake!

2013-12-09 Thread Jens Alfke
There are also APIs to disable the new “app nap” power-saving feature in OS X 10.9 — look at NSProcessInfo. —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: Please stay awake!

2013-12-09 Thread Mike Abdullah
On 9 Dec 2013, at 23:32, Jens Alfke j...@mooseyard.com wrote: There are also APIs to disable the new “app nap” power-saving feature in OS X 10.9 — look at NSProcessInfo. My understanding is this is basically a wrapper around the lower level Power Assertion APIs, which have been extended to