delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/29/05:47:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Miletics Tamas <miletics AT r2 DOT euroweb DOT hu>
Reply-To: miletics AT r2 DOT euroweb DOT hu
Organization: EuroWeb Co.
To: cygwin AT sourceware DOT cygnus DOT com
Subject: sleep make overload
Date: Fri, 29 Oct 1999 11:42:01 +0200
X-Mailer: KMail [version 1.0.28]
References: <19991029080758 DOT 13034 DOT qmail AT hotmail DOT com>
In-Reply-To: <19991029080758.13034.qmail@hotmail.com>
MIME-Version: 1.0
Message-Id: <9910291146500F.20873@r2>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id FAA31629

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019