poll() patch

Jason Tishler jason@tishler.net
Fri Sep 7 08:01:00 GMT 2001


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


More information about the Cygwin-patches mailing list