X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fthreads_int.h;h=09e58c16d21d98db14df40edfc26a1d2048eae1f;hb=652e2ab0285b66a388a7d73fe5d3551249a4df0b;hp=48452649d093854dea58e5914bcd6794be69b931;hpb=9d64454b70e47aa5c29077e4dd59d28e14ca3bf2;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/threads_int.h b/KernelLand/Kernel/include/threads_int.h index 48452649..09e58c16 100644 --- a/KernelLand/Kernel/include/threads_int.h +++ b/KernelLand/Kernel/include/threads_int.h @@ -125,6 +125,7 @@ static const char * const casTHREAD_STAT[] = { "THREAD_STAT_ACTIVE", "THREAD_STAT_SLEEPING", "THREAD_STAT_MUTEXSLEEP", + "THREAD_STAT_RWLOCKSLEEP", "THREAD_STAT_SEMAPHORESLEEP", "THREAD_STAT_QUEUESLEEP", "THREAD_STAT_EVENTSLEEP", @@ -152,4 +153,7 @@ extern tThread *Threads_GetNextToRun(int CPU, tThread *Last); extern tThread *Threads_CloneTCB(Uint Flags); extern tThread *Threads_CloneThreadZero(void); +extern void Threads_int_WaitForStatusEnd(enum eThreadStatus Status); +extern void Semaphore_ForceWake(tThread *Thread); + #endif