9 void Thread_Shutdown(void)
13 qboolean Thread_HasThreads(void)
18 void *_Thread_CreateMutex(const char *filename, int fileline)
21 Sys_PrintfToTerminal("%p create %s:%i\n" , mutex, filename, fileline);
26 void _Thread_DestroyMutex(void *mutex, const char *filename, int fileline)
29 Sys_PrintfToTerminal("%p destroy %s:%i\n", mutex, filename, fileline);
33 int _Thread_LockMutex(void *mutex, const char *filename, int fileline)
36 Sys_PrintfToTerminal("%p lock %s:%i\n" , mutex, filename, fileline);
41 int _Thread_UnlockMutex(void *mutex, const char *filename, int fileline)
44 Sys_PrintfToTerminal("%p unlock %s:%i\n" , mutex, filename, fileline);
49 void *Thread_CreateCond(void)
54 void Thread_DestroyCond(void *cond)
58 int Thread_CondSignal(void *cond)
63 int Thread_CondBroadcast(void *cond)
68 int Thread_CondWait(void *cond, void *mutex)
73 void *Thread_CreateThread(int (*fn)(void *), void *data)
78 int Thread_WaitThread(void *thread, int retval)