diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2023-08-16 07:55:53 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2023-08-16 07:55:53 +0000 |
commit | f67eeabd00d333c34f7442e21b1a6d8c82711d65 (patch) | |
tree | 6c056c1bed182f30224a23993b27ba3b8c080d23 /games/atc/pathnames.h | |
parent | e369555b24c8421b46ebe65fda6633cc229dae11 (diff) |
Move SCHED_LOCK after sleep_signal_check.
sleep_signal_check() is there to look for pending signals / single thread
requests which were posted before sleep_setup() finished. Once p_stat
is set to SSLEEP the wakeup and delivery of signals is taken care of
by ptsignal and single_thread_set().
Moving the SCHED_LOCK further down allows to cleanup cursig() and to
remove a SCHED_LOCK recursion in single_thread_check().
OK mpi@
Diffstat (limited to 'games/atc/pathnames.h')
0 files changed, 0 insertions, 0 deletions