Problems with Windows threads and cygwin sleep()
Raul Metsma
raul@vihmapuu.ee
Thu Aug 25 09:30:00 GMT 2005
Ohh never get this right :(
Actually I am more system administrator than programmer
Lets try again:
http://rtedev.com/~raul/threads/threads.c
Compile this program under mingw
gcc -o threads.exe threads.c
./threads 600
now compile
http://rtedev.com/~raul/threads/main.c
with cygwin
and when I execute this, then threads.exe will eat 100% CPU
Raul Metsma
Pavel Tsekov wrote:
> Hello,
>
> On Thu, 25 Aug 2005, Raul Metsma wrote:
>
>
>>Sorry no Makefile based project, but in Visual C
>>http://rtedev.com/~raul/threads/Threads.zip
>
>
> By doing this you are seriously reducing the chance that someone will look
> at your testcase.
>
> --
> 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/
>
--
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