On Mon, 30 Aug 2010, Corinna Vinschen wrote: > I applied a patch to Cygwin which should make select on /dev/windows > fully functional. > > The blessed solution is to replace the call to MsgWaitForMultipleObjects > with a call to MsgWaitForMultipleObjectsEx with the MWMO_INPUTAVAILABLE > flag set. This flag is defined to do exactly what we need.
Just wondering, does this also effect select/poll on sockets in either 1.7 or 1.5? I seem to remember a Windows event loop required for select on sockets and wasn't sure if this change would be related. A long time ago (1.5.18) I discovered a delay in select on sockets and wondered if this might have been related. I haven't retested in that long since I found a work-around ;-). -- Brian Ford Staff Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple