Fixed Threads_Yield clearning the Quantum, not the remaining timesteps
[tpg/acess2.git] / Kernel / threads.c
index 9b8b30f..7fb31f4 100644 (file)
@@ -335,7 +335,7 @@ void Threads_Kill(tThread *Thread, int Status)
  */
 void Threads_Yield()
 {
-       Proc_GetCurThread()->Quantum = 0;
+       Proc_GetCurThread()->Remaining = 0;
        HALT();
 }
 

UCC git Repository :: git.ucc.asn.au