From 06da453a6570e6e6cfa11974049155997846798b Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 27 Sep 2009 16:54:38 +0800 Subject: [PATCH] Removed debug --- Kernel/arch/x86/proc.c | 2 +- Kernel/threads.c | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) 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) { -- 2.20.1