diff options
| author | David Xu <davidxu@FreeBSD.org> | 2004-07-13 22:49:58 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2004-07-13 22:49:58 +0000 |
| commit | 566382df0ad602942b46c4de0161beee34bb5098 (patch) | |
| tree | fb610eb65d694e498ffb6de577dfc89b9d9f9f4e /lib/libpthread/thread/thr_exit.c | |
| parent | 89085217889f8db484cc565cab270791cb3d9e94 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_exit.c')
| -rw-r--r-- | lib/libpthread/thread/thr_exit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_exit.c b/lib/libpthread/thread/thr_exit.c index 416709aadc92..22aa8750e674 100644 --- a/lib/libpthread/thread/thr_exit.c +++ b/lib/libpthread/thread/thr_exit.c @@ -125,11 +125,11 @@ _pthread_exit(void *status) curkse = _get_curkse(); KSE_LOCK_ACQUIRE(curkse, &_thread_list_lock); /* Use thread_list_lock */ - _thr_active_threads--; + _thread_active_threads--; #ifdef SYSTEM_SCOPE_ONLY - if (_thr_active_threads == 0) { + if (_thread_active_threads == 0) { #else - if (_thr_active_threads == 1) { + if (_thread_active_threads == 1) { #endif KSE_LOCK_RELEASE(curkse, &_thread_list_lock); _kse_critical_leave(crit); |
