Author :
claudio
Date :
2024-11-24 13:02:37
Hash :cf08c0f1 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@