#define _THREADS_INT_H_
#include <threads.h>
+#include <proc.h>
/**
* \brief IPC Message
// === GLOBALS ===
extern BOOL gaThreads_NoTaskSwitch[MAX_CPUS];
+extern tShortSpinlock glThreadListLock;
// === FUNCTIONS ===
extern tThread *Proc_GetCurThread(void);
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