Dave Korn wrote: > > Starting this from explorer results in a 5 second busy hour glass and (of > > course), explorer is unresponsive until the program ends. > > Can't reproduce. What version of 'doze are you using? I get the > hour-glass-with-arrow cursor for five seconds, but explorer still responds.
Same here, just a busy-arrow, no other hang. I notice that if you call the Win32 version of Sleep() (capital S) instead of Cygwin's sleep() there's no busy-arrow. Also, a MinGW version of the program doesn't show the busy-arrow either. So there is something in particular about the Cygwin implementation of sleep(), which is really just a wrapper around nanosleep(), which itself really just calls cancelable_wait(), which in turn relies on WaitForMultipleObjects() with a delay. Brian -- 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/