CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/11/24 06:02:37
Modified files:
sys/kern : sched_bsd.c
Log message:
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@
