Problems with Windows threads and cygwin sleep()
Dave Korn
dave.korn@artimi.com
Wed Aug 24 17:26:00 GMT 2005
----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/
More information about the Cygwin
mailing list