Made Threads_WaitTID do a Threads_Dump to find bug with starting fourth task
authorJohn Hodge <[email protected]>
Sun, 27 Sep 2009 02:05:16 +0000 (10:05 +0800)
committerJohn Hodge <[email protected]>
Sun, 27 Sep 2009 02:05:16 +0000 (10:05 +0800)
Kernel/drv/kb.c
Kernel/threads.c

index 44591bc..2e07aef 100644 (file)
@@ -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])
        {
index 1ccac9f..9b8b30f 100644 (file)
@@ -137,6 +137,8 @@ void Threads_SetTickets(int Num)
  */
 int Threads_WaitTID(int TID, int *status)
 {
+       Threads_Dump();
+       
        // Any Child
        if(TID == -1) {
                

UCC git Repository :: git.ucc.asn.au