Thanks for all the replies everybody!

id activity = [[NSProcessInfo 
processInfo] beginActivityWithOptions:NSActivityBackground reason:@"Good 
*Seems to do the trick*, and cpu usage stays at 0.01%

I tried using sudo nice -1 and even -20, the cpu usage went up from 0.01 to 
0.1, but I still got the big pauses, I guess it still puts the app to sleep 
when it thinks it isn't doing anything, even if it gets more CPU when it's 
not sleeping.


You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit

Reply via email to