X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fthreads.c;h=12613a244348b8ec99680df8354f2ec804231b02;hb=34dd97af59a64afda861ce636b272c7b90531f97;hp=193ddfed23fe851c8ce497e800eb0622beb4d879;hpb=3e63a1d155d5324523188482f314c4eaae40d523;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/threads.c b/KernelLand/Kernel/threads.c index 193ddfed..12613a24 100644 --- a/KernelLand/Kernel/threads.c +++ b/KernelLand/Kernel/threads.c @@ -13,6 +13,7 @@ #include #include // VFS Handle maintainence #include +#include // Configuration #define DEBUG_TRACE_ACTIVEQUEUE 0 // Trace adds/removals from the active queue @@ -70,8 +71,8 @@ void Threads_Sleep(void); int Threads_Wake(tThread *Thread); void Threads_AddActive(tThread *Thread); tThread *Threads_RemActive(void); -#endif void Threads_ToggleTrace(int TID); +#endif void Threads_Fault(int Num); void Threads_SegFault(tVAddr Addr); void Threads_PostSignalTo(tThread *Thread, int SignalNum); @@ -91,7 +92,9 @@ tGID Threads_GetGID(void); int Threads_SetGID(Uint *Errno, tUID ID); #endif void Threads_int_DumpThread(tThread *thread); +#if 0 void Threads_Dump(void); +#endif void Threads_DumpActive(void); tThread *Threads_int_GetRunnable(void);