diff options
author | jeff <jeff@FreeBSD.org> | 2003-04-01 02:32:53 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-04-01 02:32:53 +0000 |
commit | 4f9ba753d83d9fb8331a0b13c3ab8fba409c0b07 (patch) | |
tree | e9533d9dd5e8637aeba8e59bf546981e50c238b5 /sys/kern | |
parent | d41c709cb329403292effecd48dba1b9a6447c47 (diff) | |
download | FreeBSD-src-4f9ba753d83d9fb8331a0b13c3ab8fba409c0b07.zip FreeBSD-src-4f9ba753d83d9fb8331a0b13c3ab8fba409c0b07.tar.gz |
- thr_exit() should no longer be called with Giant held.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_thr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c index 6ee3b5c..31c638e 100644 --- a/sys/kern/kern_thr.c +++ b/sys/kern/kern_thr.c @@ -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); |