diff options
| author | David Xu <davidxu@FreeBSD.org> | 2005-12-19 03:20:55 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2005-12-19 03:20:55 +0000 |
| commit | 597dc824a00b78dad0a77d3929d3b9cb59550b79 (patch) | |
| tree | 938b2efd6ca152ef51d5a8e558c1c73418ed3e89 /lib | |
| parent | 18f78b4988211bd7ddfdc16b7108dd8f01f085cb (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libthr/thread/thr_join.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_join.c b/lib/libthr/thread/thr_join.c index 097c97f63601..2f22cbe6b8fe 100644 --- a/lib/libthr/thread/thr_join.c +++ b/lib/libthr/thread/thr_join.c @@ -127,6 +127,7 @@ join_common(pthread_t pthread, void **thread_return, pthread->joiner = NULL; THREAD_LIST_UNLOCK(curthread); } else { + ret = 0; tmp = pthread->ret; THREAD_LIST_LOCK(curthread); pthread->tlflags |= TLFLAGS_DETACHED; |
