Clear PCATCH for procs that have P_WEXIT set.
authorclaudio <claudio@openbsd.org>
Thu, 18 Apr 2024 08:59:38 +0000 (08:59 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 18 Apr 2024 08:59:38 +0000 (08:59 +0000)
commitc0de6c7f07d7e4dcfdde2e7663c1c02686158c60
treea8838207496d00a9608a5d2f9687493970938820
parentbc9b6e54c3fbdc67e28c6a0747c7d7951a4ac72a
Clear PCATCH for procs that have P_WEXIT set.

Exiting procs will not return to userland and can not deliver signals so
it is better to not even try.
OK mpi@
sys/kern/kern_synch.c