OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Brad Smith (bradcvs.openbsd.org)
Date: Fri Apr 09 2004 - 18:57:17 CDT


CVSROOT: /cvs
Module name: src
Changes by: bradcvs.openbsd.org 2004/04/09 17:57:17

Modified files:
        lib/libpthread/uthread: uthread_kern.c

Log message:
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.

From: FreeBSD's libc_r

ok marc