NetBSD/sys/arch/xen
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
..
compile
conf Sync with recent i386/amd64 source merges - fix Xen builds. 2009-03-31 20:12:19 +00:00
i386 - printf -> aprint_* 2008-10-24 18:02:58 +00:00
include Explicitly #include <sys/device.h> and <sys/evcnt.h>. These files only 2009-03-27 15:47:33 +00:00
x86 Ansify function definitions w/o arguments. Generated with sed. 2009-03-18 10:22:21 +00:00
xen Add fileops::fo_drain(), to be called from fd_close() when there is more 2009-04-04 10:12:51 +00:00
xenbus ansify function definitions 2009-03-16 05:59:21 +00:00
Makefile Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00