sleep make overload
Miletics Tamas
miletics@r2.euroweb.hu
Sun Oct 31 19:54:00 GMT 1999
Hello !
I made a process what's like this:
while (1)
{
sleep(5);
printf(opened_file,"k\n");
}
It's making about 14% processor load on a PII 500 MS NT Machine ?
Who know why ?
Exist another good sleep function ?
Miletics Tamas
------------------------------------------------------------------------
===== EuroWeb Rt ===== Thomas Miletics - System Administrator
===== ===== H-1122 Budapest Varosmajor utca 13.
===== http://www.euroweb.hu ===== Tel.: +36 1 2244000 Fax: +36 1 2244100
------------------------------------------------------------------------
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list