summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_find_thread.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2004-10-23 23:28:36 +0000
committerDavid Xu <davidxu@FreeBSD.org>2004-10-23 23:28:36 +0000
commitb4f9f84b962fcd8c899067dbfa2976254213d9df (patch)
tree95da86c441c1081dff7d70fbd4ecebcf91db48ea /lib/libpthread/thread/thr_find_thread.c
parent1be7387c0321b6d8261fdc8da98c391624f138f9 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_find_thread.c')
-rw-r--r--lib/libpthread/thread/thr_find_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_find_thread.c b/lib/libpthread/thread/thr_find_thread.c
index e8d9fcbd3e4d..5a646406c5f3 100644
--- a/lib/libpthread/thread/thr_find_thread.c
+++ b/lib/libpthread/thread/thr_find_thread.c
@@ -90,7 +90,7 @@ _thr_ref_delete(struct pthread *curthread, struct pthread *thread)
if (curthread != NULL)
curthread->critical_count--;
if ((thread->refcount == 0) &&
- (thread->flags & THR_FLAGS_GC_SAFE) != 0)
+ (thread->tlflags & TLFLAGS_GC_SAFE) != 0)
THR_GCLIST_ADD(thread);
KSE_LOCK_RELEASE(curkse, &_thread_list_lock);
_kse_critical_leave(crit);