X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fthreads_int.h;h=64b29868352aea75f2aeff5f35c37cb3517af9e0;hb=340bda1dddf444ccf46fbc9e7a37bf6c3f0aeb6a;hp=ed2af53dd3cd5908d5c69cf48d46f63075589dc0;hpb=881a49e0164c582d24db527e474f587a8b5e0c32;p=tpg%2Facess2.git diff --git a/Kernel/include/threads_int.h b/Kernel/include/threads_int.h index ed2af53d..64b29868 100644 --- a/Kernel/include/threads_int.h +++ b/Kernel/include/threads_int.h @@ -6,6 +6,7 @@ #define _THREADS_INT_H_ #include +#include /** * \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); @@ -110,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