This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with Windows threads and cygwin sleep()


On Aug 25 12:30, Raul Metsma wrote:
> 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

Er... well, no, not on my system.  It takes 3 to 5% CPU and that
doesn't change when starting main.exe.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]