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()


> No, I tested with just two cmd windows. The joke is that I don't see
the Cygwin process doing anything suspicious.  In my test I just started
tcsh under strace to see if it begins to behave weird when the threads
application is running, but it just waits in ready_for_read for user input.
Nevertheless, threads takes the CPU time when the no. of threads is big
enough and returns to normal when the Cygwin process stops.  I tried a
few things but no luck so far.  Maybe Dave is right.


Some more testing


When I comment out signals.cc nanosleep() content and add there
directly windows Sleep() call, then does not occur this issue.
Could this be nanosleep() bug or something deeper?

Raul Metsma

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