System idling?

  • Thread starter Thread starter Joerg Battermann
  • Start date Start date
J

Joerg Battermann

Hello there,

I was wondering whether / how it is possible to check whether the system
is idle or not to only start a specific task when enough system
ressources are available...

Any ideas, hints/links? :)

Best regards / MfG,
--
Joerg Battermann
(e-mail address removed)
http://www.justBE.com

PGP-KeyID: 0x77007DA6
PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6
 
You could just start a thread that runs with the lowest possible priority -
that won't run unless the system has anything better to do. It'll
effectively let you know when it's idle.
 
Ian said:
You could just start a thread that runs with the lowest possible priority -
that won't run unless the system has anything better to do. It'll
effectively let you know when it's idle.

thanks!

--


Best regards / MfG,
--
Joerg Battermann
(e-mail address removed)
http://www.justBE.com

PGP-KeyID: 0x77007DA6
PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6
 
Back
Top