diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-24 13:02:38 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-24 13:02:38 +0000 |
commit | fb6907be911e59f6ed1874a29f9e4e9d02029337 (patch) | |
tree | d244f224127903264fbb2a17ecb2020b499a20c7 /usr.bin/apply | |
parent | bdc718666300232cb7ca29e6ce75221b5cb1b7f1 (diff) |
In setrunnable() also check for P_WSLEEP in the SSTOP case.
If a thread is quickly stopped and continued then it is possible that
all of this happens between sleep_setup and sleep_finish and so this
code needs to check for P_WSLEEP so that a still running thread is
put onto the runqueue.
OK mpi@
Diffstat (limited to 'usr.bin/apply')
0 files changed, 0 insertions, 0 deletions