Usermode/AxWin3 - Bugfixing rendering/layout issues
[tpg/acess2.git] / Kernel / include / threads_int.h
index ed2af53..4cc11ec 100644 (file)
@@ -6,6 +6,7 @@
 #define _THREADS_INT_H_
 
 #include <threads.h>
+#include <proc.h>
 
 /**
  * \brief IPC Message
@@ -98,6 +99,7 @@ static const char * const casTHREAD_STAT[] = {
 
 // === GLOBALS ===
 extern BOOL    gaThreads_NoTaskSwitch[MAX_CPUS];
+extern tShortSpinlock  glThreadListLock;
 
 // === FUNCTIONS ===
 extern tThread *Proc_GetCurThread(void);
@@ -108,9 +110,10 @@ extern int Threads_Wake(tThread *Thread);
 extern void    Threads_Kill(tThread *Thread, int Status);
 extern void    Threads_AddActive(tThread *Thread);
 extern tThread *Threads_RemActive(void);
+extern void    Threads_Delete(tThread *Thread);
 extern tThread *Threads_GetNextToRun(int CPU, tThread *Last);
 
-extern tThread *Threads_CloneTCB(Uint *Err, Uint Flags);
+extern tThread *Threads_CloneTCB(Uint Flags);
 extern tThread *Threads_CloneThreadZero(void);
 
 #endif

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