diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-10-15 13:49:27 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-10-15 13:49:27 +0000 |
commit | 32967a1150760923ad285087fae86e7e2f5d8060 (patch) | |
tree | 879e96af998fc8059fa44cea0e8e0e1eeac92d81 /share/snmp/OPENBSD-SENSORS-MIB.txt | |
parent | 035545c70eaa2271f0cee296801c46fbe45ebefc (diff) |
Indicate that a process has stopped by setting PS_STOPPED flag
The checks in dowait6 and orphanpg using ps_mainproc are flawed and
fail if the mainproc called pthread_exit before the other threads.
Adding the flag in proc_stop_sweep is racy but the best we have right now.
This fixes regress/sys/kern/signal/sig-stop3.
OK mpi@
Diffstat (limited to 'share/snmp/OPENBSD-SENSORS-MIB.txt')
0 files changed, 0 insertions, 0 deletions