diff options
| author | David Xu <davidxu@FreeBSD.org> | 2004-10-23 23:28:36 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2004-10-23 23:28:36 +0000 |
| commit | b4f9f84b962fcd8c899067dbfa2976254213d9df (patch) | |
| tree | 95da86c441c1081dff7d70fbd4ecebcf91db48ea /lib/libpthread/thread/thr_find_thread.c | |
| parent | 1be7387c0321b6d8261fdc8da98c391624f138f9 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_find_thread.c')
| -rw-r--r-- | lib/libpthread/thread/thr_find_thread.c | 2 |
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); |
