git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactored thread switching code to support compile-time swapping
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
proc.c
diff --git
a/Kernel/arch/x86/proc.c
b/Kernel/arch/x86/proc.c
index
69c89b2
..
6d84f01
100644
(file)
--- a/
Kernel/arch/x86/proc.c
+++ b/
Kernel/arch/x86/proc.c
@@
-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