poll() patch

Corinna Vinschen cygwin-patches@cygwin.com
Fri Sep 7 10:18:00 GMT 2001


On Fri, Sep 07, 2001 at 11:02:37AM -0400, Jason Tishler wrote:
> The attached patch prevents Cygwin from hanging in poll() (well really
> select) when only invalid file descriptors are specified.  With the
> patch applied, Cygwin's poll() now behaves the same as the one on Red
> Hat 7.1 Linux.
> 
> The third attachment is a small test program that demonstrates the
> problem.
> 
> For those interested in Python, this was the root cause to the test_poll
> hang.
> 
> Thanks,
> Jason

Good catch. Applied.

Thanks Jason,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list