This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: poll() patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]