diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2003-06-08 17:35:11 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-06-08 17:35:11 +0000 |
| commit | f91de797cebbdeaf199b407694549020c4b9c094 (patch) | |
| tree | e2f59ae805fe33406bc26075d32f8eea7414ed07 /lib/libpthread/thread/thr_kern.c | |
| parent | 4d6f145a3b60e54f195b0bf07688cb29e67d9f84 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
| -rw-r--r-- | lib/libpthread/thread/thr_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index 365d7999fe5c..71957cfec78a 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -2151,7 +2151,7 @@ _thr_free(struct pthread *curthread, struct pthread *thread) else { crit = _kse_critical_enter(); KSE_LOCK_ACQUIRE(curthread->kse, &thread_lock); - TAILQ_INSERT_HEAD(&free_threadq, thread, tle); + TAILQ_INSERT_TAIL(&free_threadq, thread, tle); free_thread_count++; KSE_LOCK_RELEASE(curthread->kse, &thread_lock); _kse_critical_leave(crit); |
