20 May
2001
20 May
'01
6:32 p.m.
Bang Jun-Young <bjy(a)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. -- Alexandre Julliard julliard(a)winehq.com