void _Thread_WaitBarrier(void *barrier, const char *filename, int fileline)
{
}
+
+int _Thread_AtomicGet(Thread_Atomic *a, const char *filename, int fileline)
+{
+ return a->value;
+}
+
+int _Thread_AtomicSet(Thread_Atomic *a, int v, const char *filename, int fileline)
+{
+ int value = a->value;
+ a->value = v;
+ return value;
+}
+
+int _Thread_AtomicAdd(Thread_Atomic *a, int v, const char *filename, int fileline)
+{
+ int value = a->value;
+ a->value += v;
+ return value;
+}
+
+void _Thread_AtomicIncRef(Thread_Atomic *a, const char *filename, int fileline)
+{
+ a->value++;
+}
+
+qboolean _Thread_AtomicDecRef(Thread_Atomic *a, const char *filename, int fileline)
+{
+ return a->value++ == 1;
+}
+
+qboolean _Thread_AtomicTryLock(Thread_SpinLock *lock, const char *filename, int fileline)
+{
+ return true;
+}
+
+void _Thread_AtomicLock(Thread_SpinLock *lock, const char *filename, int fileline)
+{
+}
+
+void _Thread_AtomicUnlock(Thread_SpinLock *lock, const char *filename, int fileline)
+{
+}