Re: Behaving "nice"(1) in the background
Re: Behaving "nice"(1) in the background
- Subject: Re: Behaving "nice"(1) in the background
- From: Greg Herlihy <email@hidden>
- Date: Wed, 22 Feb 2006 17:37:10 -0800
- Thread-topic: Behaving "nice"(1) in the background
Another consideration to keep in mind is whether the machine is currently
running on battery power. It's likely that the program should sharply
curtail, if not postpone completely, these background operations whenever
the computer is running off of battery power.
I would also agree that the OS will do a better job of managing CPU time
than can individual programs - and while there are few operations that help
- such as setting lowered priorities, for the most part it's best to let the
OS handle task scheduling.
Lastly, I would point out that Carbon has an idle timer which can be
configured to fire after a specified length of time has passed without any
user activity. Executing while no one is using the computer is another
user-friendly behavior.
Greg
On 2/22/06 3:30 PM, "Alexander von Below" <email@hidden> wrote:
> On 2/23/06, email@hidden <email@hidden> wrote:
> Those are good
> ideas, but depending on what you're doing, may be
> superficial. If you're
> doing I/O, you have to worry about that far
> more than CPU
> scheduling.
Thanks for reminding me of that, because the thread is causing
> both
disk and network activity. And I know all the isssues you spoke of,
and
> keep them in mind with my design
Thanks for both of your input!
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
_______________________________________________
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