- thr_exit() should no longer be called with Giant held.

This commit is contained in:
Jeff Roberson 2003-04-01 02:32:53 +00:00
parent f27bf63b8a
commit 8446303e01

View File

@ -209,8 +209,6 @@ thr_exit(struct thread *td, struct thr_exit_args *uap)
* This unlocks proc and doesn't return unless this is the last
* thread.
*/
while (mtx_owned(&Giant))
mtx_unlock(&Giant);
thr_exit1();
mtx_unlock_spin(&sched_lock);