delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Problems with Windows threads and cygwin sleep() |
Date: | Wed, 24 Aug 2005 18:26:18 +0100 |
MIME-Version: | 1.0 |
In-Reply-To: | <430C9C04.4020905@vihmapuu.ee> |
Message-ID: | <SERRANO54SJCtOidM1i0000028e@SERRANO.CAM.ARTIMI.COM> |
----Original Message---- >From: Raul Metsma >Sent: 24 August 2005 17:11 > Now when I compile simple c program under cygwin > > while(1) { sleep(1); } > > and execute it, the first program will eat 100% CPU. I can't reproduce this. When I tried it, sleep worked as expected, and the program consumed next to no cpu time at all. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |