Kernel - Split Mutexes/Semaphores out
[tpg/acess2.git] / Kernel / include / threads_int.h
index f5c7b1b..64b2986 100644 (file)
@@ -99,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);
@@ -111,7 +112,7 @@ extern void Threads_AddActive(tThread *Thread);
 extern tThread *Threads_RemActive(void);
 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