From a221c4590eeaf8fb4dc4fc9cb97177f8752d60e5 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 27 Sep 2009 10:05:16 +0800 Subject: [PATCH] Made Threads_WaitTID do a Threads_Dump to find bug with starting fourth task --- Kernel/drv/kb.c | 1 - Kernel/threads.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Kernel/drv/kb.c b/Kernel/drv/kb.c index 44591bcc..2e07aef5 100644 --- a/Kernel/drv/kb.c +++ b/Kernel/drv/kb.c @@ -142,7 +142,6 @@ void KB_IRQHandler() // Ignore Non-Printable Characters if(ch == 0 || ch & 0x80) return; - // --- Check for Kernel Magic Combos if(gbaKB_States[KEY_LCTRL])// && gbaKB_States[KEY_LALT]) { diff --git a/Kernel/threads.c b/Kernel/threads.c index 1ccac9f6..9b8b30f9 100644 --- a/Kernel/threads.c +++ b/Kernel/threads.c @@ -137,6 +137,8 @@ void Threads_SetTickets(int Num) */ int Threads_WaitTID(int TID, int *status) { + Threads_Dump(); + // Any Child if(TID == -1) { -- 2.20.1