]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't hold the active thread list lock when signaling the gc thread.
authorMike Makonnen <mtm@FreeBSD.org>
Thu, 29 May 2003 20:46:53 +0000 (20:46 +0000)
committerMike Makonnen <mtm@FreeBSD.org>
Thu, 29 May 2003 20:46:53 +0000 (20:46 +0000)
commitb3cdf7ae2eb9a89e6f906aad132866185cf4dfe8
tree24627382282fb3a2ee03fe4390d9fac487628e88
parent981f4968f09101e148b2fd8f1389d087948bc00c
Don't hold the active thread list lock when signaling the gc thread.
The dead list thread is sufficient for synchronization.

Retire the arch_id (ldt array slot) in the gc thread instead of the
doing it in the thread itself.

Approved by: re/jhb
lib/libthr/thread/thr_exit.c
lib/libthr/thread/thr_gc.c
lib/libthr/thread/thr_join.c