Refactored thread switching code to support compile-time swapping
[tpg/acess2.git] / Kernel / arch / x86 / proc.c
index 69c89b2..6d84f01 100644 (file)
@@ -468,7 +468,7 @@ void Proc_Start(void)
        {
                gpIdleThread = Proc_GetCurThread();
                gpIdleThread->ThreadName = "Idle Thread";
-               gpIdleThread->NumTickets = 0;   // Never called randomly
+               Threads_SetPriority( gpIdleThread, -1 );        // Never called randomly
                gpIdleThread->Quantum = 1;      // 1 slice quantum
                for(;;) HALT(); // Just yeilds
        }

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