diff options
| author | Mike Makonnen <mtm@FreeBSD.org> | 2003-05-29 20:46:53 +0000 |
|---|---|---|
| committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-05-29 20:46:53 +0000 |
| commit | b3cdf7ae2eb9a89e6f906aad132866185cf4dfe8 (patch) | |
| tree | 24627382282fb3a2ee03fe4390d9fac487628e88 /lib/libthr/thread/thr_join.c | |
| parent | 981f4968f09101e148b2fd8f1389d087948bc00c (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_join.c')
| -rw-r--r-- | lib/libthr/thread/thr_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_join.c b/lib/libthr/thread/thr_join.c index 88a71f2c52ef..2a5433aeb80e 100644 --- a/lib/libthr/thread/thr_join.c +++ b/lib/libthr/thread/thr_join.c @@ -160,9 +160,9 @@ _pthread_join(pthread_t pthread, void **thread_return) /* Make the thread collectable by the garbage collector. */ pthread->attr.flags |= PTHREAD_DETACHED; _SPINUNLOCK(&pthread->lock); + THREAD_LIST_UNLOCK; if (pthread_cond_signal(&_gc_cond) != 0) PANIC("Cannot signal gc cond"); - THREAD_LIST_UNLOCK; DEAD_LIST_UNLOCK; } |
