This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: poll() patch
- To: Cygwin-Patches <cygwin-patches at sources dot redhat dot com>
- Subject: Re: poll() patch
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- Date: Fri, 7 Sep 2001 19:18:40 +0200
- References: <20010907110236.A788@dothill.com>
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.