Subject: sleep make overload
From: Miletics Tamas <[email-masked]>
To: [email-masked]
Date: Fri, 29 Oct 1999 11:42:01 +0200

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 [email-masked]