Behaving "nice"(1) in the background
Behaving "nice"(1) in the background
- Subject: Behaving "nice"(1) in the background
- From: "Alexander von Below" <email@hidden>
- Date: Wed, 22 Feb 2006 23:47:36 +0100
Hello fellow Cocoa developers,
our application has some relatively time consuming maintenance to do
at times, and we want to give the user to do this "in the background".
In that case, what concerns me most is that this is as unobstrusive as
possible - the time it takes is not really important.
Are there any other ideas besides calling setpriority(2)? What would
be a good indication when the user is "idle", or can I find out when I
should rather wait with my processing and yield time to other apps?
Any other hints on keeping my own CPU usage (using NSThreads) low are
appreciated.
Thanks
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden