X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=thread_null.c;h=35c4e4b5f4cf319a3d285b8d8a60504c46144d81;hb=3368a3b1dd0e71f33bc40c8fe47ad5b2a0255d2f;hp=5d788a49ba99ada73e63a23a7ca1279a9f16ba69;hpb=9cffca779de91e174191e4a853211892e44b605e;p=xonotic%2Fdarkplaces.git diff --git a/thread_null.c b/thread_null.c index 5d788a49..35c4e4b5 100644 --- a/thread_null.c +++ b/thread_null.c @@ -15,56 +15,68 @@ qboolean Thread_HasThreads(void) return false; } -void *Thread_CreateMutex(void) +void *_Thread_CreateMutex(const char *filename, int fileline) { return NULL; } -void Thread_DestroyMutex(void *mutex) +void _Thread_DestroyMutex(void *mutex, const char *filename, int fileline) { } -int Thread_LockMutex(void *mutex) +int _Thread_LockMutex(void *mutex, const char *filename, int fileline) { return -1; } -int Thread_UnlockMutex(void *mutex) +int _Thread_UnlockMutex(void *mutex, const char *filename, int fileline) { return -1; } -void *Thread_CreateCond(void) +void *_Thread_CreateCond(const char *filename, int fileline) { return NULL; } -void Thread_DestroyCond(void *cond) +void _Thread_DestroyCond(void *cond, const char *filename, int fileline) { } -int Thread_CondSignal(void *cond) +int _Thread_CondSignal(void *cond, const char *filename, int fileline) { return -1; } -int Thread_CondBroadcast(void *cond) +int _Thread_CondBroadcast(void *cond, const char *filename, int fileline) { return -1; } -int Thread_CondWait(void *cond, void *mutex) +int _Thread_CondWait(void *cond, void *mutex, const char *filename, int fileline) { return -1; } -void *Thread_CreateThread(int (*fn)(void *), void *data) +void *_Thread_CreateThread(int (*fn)(void *), void *data, const char *filename, int fileline) { return NULL; } -int Thread_WaitThread(void *thread, int retval) +int _Thread_WaitThread(void *thread, int retval, const char *filename, int fileline) { return retval; } - + +void *_Thread_CreateBarrier(unsigned int count, const char *filename, int fileline) +{ + return NULL; +} + +void _Thread_DestroyBarrier(void *barrier, const char *filename, int fileline) +{ +} + +void _Thread_WaitBarrier(void *barrier, const char *filename, int fileline) +{ +}