Of course. If the program needs all the CPU available but without hogging the CPU then Delay(0) is a nice choice.Trond wrote:40%+60% is 100%, right? The total CPU use will be 100% with Delay(0).
If you are so concerned about CPU use just lower the priority of the process in taskmanager, or make te programs use background timeslices (theres a Win API for that if I recall?).
Don't tell me you complain about say CS or Crysis etc. using all free CPU as well?
If the programmer is good and the program is flexible enough to be able to do it, then there should be a program option allowing adjustment of system load. (aka. a foreground and a background mode, various archiver tools and encoders tend to have those options.)
So you don't want any programs to use all free CPU, which means you don't mind that something takes 4 hours to complete vs 10 minutes.
Which do you think is more friendly to the machine? 4 hours of average work or 10 min of intense but short work?
If you hate the fan so much get rid of it

As to battery, I certainly would never run any heaving processing with battery alone, I'd stick in the wall plug for that.

If the programmer is good and the program is flexible enough to be able to do it, then there should be a program option allowing adjustment of system load. (aka. a foreground and a background mode, various archiver tools and encoders tend to have those options.)
I doubt photoshop or similar is very CPU friendly for example?

Every program should only use as much CPU as it needs, but how do you programtically know that? You can't! (at least easily)
And also, some programs need all the CPU they can get.
I assume when you talk about the fan kicking in it's a knee jerk reaction to badly made program loops (as I've mentioned a few times before on the forums) and I agree fully with you on that.
But Delay(0) is not bad if used appropriately, it is certainly better than none at all (watch Windows become sirup

.