summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-11-24 13:02:38 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-11-24 13:02:38 +0000
commitfb6907be911e59f6ed1874a29f9e4e9d02029337 (patch)
treed244f224127903264fbb2a17ecb2020b499a20c7 /usr.bin
parentbdc718666300232cb7ca29e6ce75221b5cb1b7f1 (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')
0 files changed, 0 insertions, 0 deletions