NetBSD/sys/opencrypto
ad c6367674d6 Add fileops::fo_drain(), to be called from fd_close() when there is more
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.

Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.

thr0	accept(fd, ...)
thr1	close(fd)
2009-04-04 10:12:51 +00:00
..
criov.c
crypto.c
cryptodev.c Add fileops::fo_drain(), to be called from fd_close() when there is more 2009-04-04 10:12:51 +00:00
cryptodev.h
cryptosoft_xform.c
cryptosoft.c
cryptosoft.h
deflate.c
deflate.h
files.opencrypto
Makefile
ocryptodev.c
ocryptodev.h
xform.c
xform.h