diff options
author | kib <kib@FreeBSD.org> | 2015-03-21 01:39:44 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-03-21 01:39:44 +0000 |
commit | 48a0d48fb5a8382e19f93ab4c1faa34d06cfa1e7 (patch) | |
tree | bec0d412be0a696c8494b879c8e6ddcf97edbe1d /sys/kern/kern_thr.c | |
parent | fe7bfd664683289b1b664debb31903b1cac6c5a3 (diff) | |
download | FreeBSD-src-48a0d48fb5a8382e19f93ab4c1faa34d06cfa1e7.zip FreeBSD-src-48a0d48fb5a8382e19f93ab4c1faa34d06cfa1e7.tar.gz |
MFC r279390:
Change umtx_lock to be the sleepable mutex.
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r-- | sys/kern/kern_thr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c index b298f33..280bc0b 100644 --- a/sys/kern/kern_thr.c +++ b/sys/kern/kern_thr.c @@ -322,6 +322,7 @@ sys_thr_exit(struct thread *td, struct thr_exit_args *uap) LIST_REMOVE(td, td_hash); rw_wunlock(&tidhash_lock); tdsigcleanup(td); + umtx_thread_exit(td); PROC_SLOCK(p); thread_stopped(p); thread_exit(); |