freebsd-nq/lib/libc_r
Jason Evans 651974ee92 Fix a race condition in pthread_join(). All of the following must occur
atomically:

1) Search _thread_list for the thread to join.
2) Search _dead_list for the thread to join.
3) Set the running thread as the joiner.

While we're at it, fix a race in the case where multiple threads try to
join on the same thread.  POSIX says that the behavior of multiple joiners
is undefined, but the fix is cheap as a result of the other fix.
2001-06-27 11:41:15 +00:00
..
arch $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
man Typo fix: requires -> reacquires 2001-06-27 06:01:17 +00:00
sys $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
test Add a test for PR 24345. 2001-05-20 23:12:13 +00:00
uthread Fix a race condition in pthread_join(). All of the following must occur 2001-06-27 11:41:15 +00:00
Makefile Add weak definitions for wrapped system calls. In general: 2001-01-24 13:03:38 +00:00