diff options
author | kib <kib@FreeBSD.org> | 2014-12-08 16:02:02 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-12-08 16:02:02 +0000 |
commit | efcd39f69106aa75014cbe681deae31729c4c517 (patch) | |
tree | 872f7adaffc75bea46575c9d6e677c67c5063a96 /contrib/llvm/lib/Transforms | |
parent | 83eecb0f130044eb9d10ddf12d3dcf487d8a51ca (diff) | |
download | FreeBSD-src-efcd39f69106aa75014cbe681deae31729c4c517.zip FreeBSD-src-efcd39f69106aa75014cbe681deae31729c4c517.tar.gz |
When process is exiting, check for suspension regardless of
multithreaded status of the process.
The stopped state must be cleared before P_WEXIT is set. A stop
signal delivered just before first PROC_LOCK() block in exit1(9) would
put the process into pending stop with P_WEXIT set or assertion
triggered. Also recheck for the suspension after failed
thread_single(9) call, since process lock could be dropped.
Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions