diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2003-04-18 07:09:43 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-04-18 07:09:43 +0000 |
commit | e4c2ac1637ab1039778694ccb3b91425371e0562 (patch) | |
tree | c4540fbdb5dd93853283bd4d70315482a539912b /lib/libpthread/thread/thr_find_thread.c | |
parent | 7cd650a97275c710e63ba7e1f58dbb394de03c1d (diff) |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_find_thread.c')
-rw-r--r-- | lib/libpthread/thread/thr_find_thread.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libpthread/thread/thr_find_thread.c b/lib/libpthread/thread/thr_find_thread.c index 9b291b16d7742..b5cae665fbdf7 100644 --- a/lib/libpthread/thread/thr_find_thread.c +++ b/lib/libpthread/thread/thr_find_thread.c @@ -85,15 +85,6 @@ _thr_ref_delete(struct pthread *curthread, struct pthread *thread) KSE_LOCK_ACQUIRE(curthread->kse, &_thread_list_lock); thread->refcount--; curthread->critical_count--; - if (((thread->flags & THR_FLAGS_GC_SAFE) != 0) && - (thread->refcount == 0) && - ((thread->attr.flags & PTHREAD_DETACHED) != 0)) { - THR_LIST_REMOVE(thread); - THR_GCLIST_ADD(thread); - _gc_check = 1; - if (KSE_WAITING(_kse_initial)) - KSE_WAKEUP(_kse_initial); - } KSE_LOCK_RELEASE(curthread->kse, &_thread_list_lock); _kse_critical_leave(crit); } |