Isn't that what a low priority thread is used for? > Is there a simple way to find simple measure of current CPU usage? > > Reason - have some housekeeping tasks that I would prefer to not run if the > computer is loaded at the moment, so an easy way to check before starting it > would be great. > > Does not have to be too precise for my case, basically something that > answers "is the computer really busy or mainly idle at the moment?" > > Here is a couple of examples I found - wondering if there is a simpler call > for XP/Vista/Windows 7 > http://www.swissdelphicenter.ch/torry/showcode.php?id=969 > http://www.vbforums.com/showthread.php?t=343530 > > John > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe >
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe