Archie Cobbs ccde72a411 When poll(2)'ing for readability or writability of a file descriptor
on behalf of a thread, we should check the POLLERR, POLLHUP, and
POLLNVAL flags as well to wake up the thread in these cases.

Suggested by:	deischen
MFC after:	3 days
2002-08-29 00:44:11 +00:00
..
2002-07-10 09:06:42 +00:00
1999-08-28 00:22:10 +00:00
2002-04-15 20:22:28 +00:00