From: cgf AT cygnus DOT com (Christopher Faylor) Subject: Re: Select() fix. 15 Sep 1998 16:21:32 -0700 Message-ID: <19980915190438.B3312.cygnus.cygwin32.developers@cygnus.com> References: <01BDE108 DOT 8C42FBF0 AT sos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Sergey Okhapkin , "'cygwin32-developers AT cygnus DOT com'" Thanks for noticing these bugs. I can't believe that I didn't notice these when I made similar changes to the socket thread. I've added both to the sources but I have made a slight change to the Sleep() change. I don't think it should sleep if a pipe with data was detected. -chris On Wed, Sep 16, 1998 at 12:25:45AM +0400, Sergey Okhapkin wrote: >select.cc (thread_pipe): sleep for 10ms on every iteration. > (start_thread_pipe): fill in me->h if pipe thread already started. >[snip] -- cgf AT cygnus DOT com http://www.cygnus.com/