From: John Hodge Date: Sun, 27 Sep 2009 02:05:16 +0000 (+0800) Subject: Made Threads_WaitTID do a Threads_Dump to find bug with starting fourth task X-Git-Tag: rel0.06~481 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a221c4590eeaf8fb4dc4fc9cb97177f8752d60e5;p=tpg%2Facess2.git Made Threads_WaitTID do a Threads_Dump to find bug with starting fourth task --- 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) {