summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2021-05-06 09:33:23 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2021-05-06 09:33:23 +0000
commit47b30dbe88ac2f80227dfc0d22f30e1f3df6968d (patch)
tree20b37542eadb60faa7e9bcebded6db2f24de17c9 /usr.bin
parent8d95726184cbc8ca57a56e02fa388e367f848abd (diff)
Refactor routines to stop/unstop processes and save the corresponding signal.
- Move the "hack" involving P_SINTR to avoid grabbing the SCHED_LOCK() recursively closer to where it is necessary, in proc_stop() - Introduce proc_unstop(), the symmetric routine to proc_stop(), which manipulates `ps_xsig' and use it whenever a SSTOPed thread needs to be awaken. - Manipulate `ps_xsig' only in proc_stop/unstop() ok kettenis@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions