NetBSD/sys/dev/dmover
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
..
dmover_backend.c Add #include <sys/simplelock.h> 2008-01-05 02:47:03 +00:00
dmover_io.c Add fileops::fo_drain(), to be called from fd_close() when there is more 2009-04-04 10:12:51 +00:00
dmover_io.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
dmover_process.c Add #include <sys/simplelock.h> 2008-01-05 02:47:03 +00:00
dmover_request.c Start detangling lock.h from intr.h. This is likely to cause short term 2008-01-04 21:17:40 +00:00
dmover_session.c Start detangling lock.h from intr.h. This is likely to cause short term 2008-01-04 21:17:40 +00:00
dmover_util.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
dmovervar.h Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:27:29 +00:00
files.dmover
Makefile
swdmover.c Start detangling lock.h from intr.h. This is likely to cause short term 2008-01-04 21:17:40 +00:00