freebsd-nq/lib/libpthread
Jason Evans 8d107d1210 If multiple threads are blocked in sigwait() for the same signal that does
not have a user-supplied signal handler, when a signal is delivered, one
thread will receive the signal, and then the code reverts to having no
signal handler for the signal.  This can leave the other sigwait()ing
threads stranded permanently if the signal is later ignored, or can result
in process termination when the process should have delivered the signal to
one of the threads in sigwait().

To fix this problem, maintain a count of sigwait()ers for each signal that
has no default signal handler.  Use the count to correctly install/uninstall
dummy signal handlers.

Reviewed by:	deischen
2000-06-27 21:30:16 +00:00
..
arch $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
man Fix a misspelling: undefied -> undefined 2000-05-27 22:02:32 +00:00
sys $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
test Add test to detect propagation of cancellation points within libc_r. 2000-04-26 23:25:58 +00:00
thread If multiple threads are blocked in sigwait() for the same signal that does 2000-06-27 21:30:16 +00:00
Makefile Add a wrapper for the sendfile() system call. 2000-04-27 00:59:44 +00:00