jasone 22f14eaadf 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
..
2001-01-04 10:37:25 +00:00
2001-06-04 15:09:51 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-06-24 01:34:38 +00:00
2001-04-23 07:39:36 +00:00
2001-03-27 17:27:19 +00:00
2001-04-18 15:54:10 +00:00
2000-12-09 09:35:55 +00:00
2001-06-11 12:39:29 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-06-05 12:40:03 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-04-18 15:54:10 +00:00
2000-12-09 09:35:55 +00:00
2001-06-24 01:34:38 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-05-30 07:51:56 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-06-21 19:17:12 +00:00