9 void Thread_Shutdown(void)
13 qboolean Thread_HasThreads(void)
18 void *_Thread_CreateMutex(const char *filename, int fileline)
23 void _Thread_DestroyMutex(void *mutex, const char *filename, int fileline)
27 int _Thread_LockMutex(void *mutex, const char *filename, int fileline)
32 int _Thread_UnlockMutex(void *mutex, const char *filename, int fileline)
37 void *_Thread_CreateCond(const char *filename, int fileline)
42 void _Thread_DestroyCond(void *cond, const char *filename, int fileline)
46 int _Thread_CondSignal(void *cond, const char *filename, int fileline)
51 int _Thread_CondBroadcast(void *cond, const char *filename, int fileline)
56 int _Thread_CondWait(void *cond, void *mutex, const char *filename, int fileline)
61 void *_Thread_CreateThread(int (*fn)(void *), void *data, const char *filename, int fileline)
66 int _Thread_WaitThread(void *thread, int retval, const char *filename, int fileline)
71 void *_Thread_CreateBarrier(unsigned int count, const char *filename, int fileline)
76 void _Thread_DestroyBarrier(void *barrier, const char *filename, int fileline)
80 void _Thread_WaitBarrier(void *barrier, const char *filename, int fileline)
84 int _Thread_AtomicGet(Thread_Atomic *a, const char *filename, int fileline)
89 int _Thread_AtomicSet(Thread_Atomic *a, int v, const char *filename, int fileline)
96 int _Thread_AtomicAdd(Thread_Atomic *a, int v, const char *filename, int fileline)
103 void _Thread_AtomicIncRef(Thread_Atomic *a, const char *filename, int fileline)
108 qboolean _Thread_AtomicDecRef(Thread_Atomic *a, const char *filename, int fileline)
110 return a->value++ == 1;
113 qboolean _Thread_AtomicTryLock(Thread_SpinLock *lock, const char *filename, int fileline)
118 void _Thread_AtomicLock(Thread_SpinLock *lock, const char *filename, int fileline)
122 void _Thread_AtomicUnlock(Thread_SpinLock *lock, const char *filename, int fileline)