This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
sleep make overload
- To: cygwin at sourceware dot cygnus dot com
- Subject: sleep make overload
- From: Miletics Tamas <miletics at r2 dot euroweb dot hu>
- Date: Fri, 29 Oct 1999 11:42:01 +0200
- Organization: EuroWeb Co.
- References: <19991029080758.13034.qmail@hotmail.com>
- Reply-To: miletics at r2 dot euroweb dot hu
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