Patch for a bug in server/select.c
Bang Jun-Young
bjy at mogua.org
Tue May 22 07:21:29 CDT 2001
On Sun, May 20, 2001 at 10:32:58AM -0700, Alexandre Julliard wrote:
> Bang Jun-Young <bjy at mogua.org> writes:
>
> > It has been observed that poll always returns POLLNVAL without waiting
> > when fd is -1.
>
> Then we cannot use the current code on NetBSD, otherwise we'll be
> eating 100% CPU as soon as an fd becomes -1. You'll probably need to
> do a poll() wrapper that removes the invalid fds before calling the
> real poll. Or you could ask the NetBSD folks to fix their
> implementation.
I'll put it on my TODO list. :) Thanks for your comments.
Jun-Young
--
Bang Jun-Young <bjy at mogua.org>
More information about the wine-devel
mailing list