Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Thu, Nov 28, 2002 at 01:20:46AM +0100, thomas wrote: >>Christopher Faylor <[EMAIL PROTECTED]> wrote: >> >>> If there is no data in a pipe it can wait for 10ms waiting for it, yes. >>> See ready_for_read/peek_pipe in select.cc. >> >>Yep i saw the Sleep (10) and though the same thing, but i figured that >>can't be it when i commented it out, compiled a new cygwin1.dll and the >>10ms delay was still there.
> It's not a Sleep 10. It's a WaitForSingleObject in ready_for_read. Yep you are right. It waits, here: if (WaitForSingleObject (signal_arrived, avail ? 0 : 10) == WAIT_OBJECT_0) now is to find out why. i will post again :) thomas -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/