diff options
| author | Mike Makonnen <mtm@FreeBSD.org> | 2003-05-29 20:46:53 +0000 |
|---|---|---|
| committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-05-29 20:46:53 +0000 |
| commit | b3cdf7ae2eb9a89e6f906aad132866185cf4dfe8 (patch) | |
| tree | 24627382282fb3a2ee03fe4390d9fac487628e88 /lib/libthr/thread/thr_gc.c | |
| parent | 981f4968f09101e148b2fd8f1389d087948bc00c (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_gc.c')
| -rw-r--r-- | lib/libthr/thread/thr_gc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_gc.c b/lib/libthr/thread/thr_gc.c index 9e263145ab5c..e2aa75331893 100644 --- a/lib/libthr/thread/thr_gc.c +++ b/lib/libthr/thread/thr_gc.c @@ -142,6 +142,13 @@ _thread_gc(pthread_addr_t arg) pthread_cln = pthread; _SPINUNLOCK(&pthread->lock); + + /* + * Retire the architecture specific id so it may be + * used for new threads. + */ + _retire_thread(pthread_cln->arch_id); + } /* |
