From: John Hodge Date: Sun, 27 Sep 2009 08:54:38 +0000 (+0800) Subject: Removed debug X-Git-Tag: rel0.06~443 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=06da453a6570e6e6cfa11974049155997846798b;p=tpg%2Facess2.git Removed debug --- diff --git a/Kernel/arch/x86/proc.c b/Kernel/arch/x86/proc.c index 76e96c93..b5ff4fea 100644 --- a/Kernel/arch/x86/proc.c +++ b/Kernel/arch/x86/proc.c @@ -311,7 +311,7 @@ int Proc_Clone(Uint *Err, Uint Flags) // Lock list and add to active Threads_AddActive(newThread); - Threads_Dump(); + //Threads_Dump(); return newThread->TID; } diff --git a/Kernel/threads.c b/Kernel/threads.c index 3e98e448..824cb169 100644 --- a/Kernel/threads.c +++ b/Kernel/threads.c @@ -96,8 +96,6 @@ void Threads_Init() cur->Quantum = 1; // 1 slice quantum HALT(); for(;;) { - //Log("---- Idle"); - //Threads_Dump(); HALT(); // Just yeilds } } @@ -142,9 +140,7 @@ void Threads_SetTickets(int Num) * \brief Wait for a task to change state */ int Threads_WaitTID(int TID, int *status) -{ - Threads_Dump(); - +{ // Any Child if(TID == -1) {