CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/05/06 03:33:22
Modified files:
sys/kern : kern_sig.c sched_bsd.c sys_process.c
sys/sys : signalvar.h
Log message:
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@