From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: New snapshot 26 Nov 1998 10:05:11 -0800 Message-ID: <01BE193A.B6924770.cygnus.cygwin32.developers@sos> To: "'Christopher Faylor'" Cc: "'cygwin32-developers AT cygnus DOT com'" Christopher Faylor wrote: > >Here is my temporary fix - peek a handle before checking for a signal. > > Of course. That makes sense. That's not a temporary fix. That's > the way it should be. > That's not the way! time (ms) action 0 peek handle, no data present, wait for signal_arrived. 1 2 3 data ready. We are still sleepihg in WFSO. 4 5 6 7 8 9 10 WFSO completed, peek handle marks handle as ready. In this scenario we have 7ms of extra wait time :-( -- Sergey Okhapkin, http://www.lexa.ru/sos Piscataway, NJ