1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

- 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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112912

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);