diff options
| author | David Xu <davidxu@FreeBSD.org> | 2008-03-19 09:33:07 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2008-03-19 09:33:07 +0000 |
| commit | c8a4eae56fe4d2d025fd70bb72c7403883b74af9 (patch) | |
| tree | f69a326c9c5120de29dc1202dbace9027961ad46 | |
| parent | 519e8d87bbf2c5329cd49fa2a8cd5808bf282e4e (diff) | |
Notes
| -rw-r--r-- | lib/libthr/thread/thr_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c index 2e7a84181df7..58fb1a10f091 100644 --- a/lib/libthr/thread/thr_create.c +++ b/lib/libthr/thread/thr_create.c @@ -218,7 +218,7 @@ out: if (ret) { THREAD_LIST_LOCK(curthread); new_thread->tlflags |= TLFLAGS_DETACHED; - _thr_ref_delete_unlocked(curthread, new_thread); + THR_GCLIST_ADD(new_thread); THREAD_LIST_UNLOCK(curthread); } } |
