Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Miletics Tamas 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] Content-Type: text/plain 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> Content-Transfer-Encoding: 8bit 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