diff options
Diffstat (limited to 'src/Platform/Dummy/Mutex.c')
| -rw-r--r-- | src/Platform/Dummy/Mutex.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/Platform/Dummy/Mutex.c b/src/Platform/Dummy/Mutex.c new file mode 100644 index 0000000..8024fa4 --- /dev/null +++ b/src/Platform/Dummy/Mutex.c @@ -0,0 +1,39 @@ +#include "Thread.h" + +#include <BH/Thread.h> + + +BH_Mutex *BH_MutexNew(void) +{ + return NULL; +} + + +void BH_MutexFree(BH_Mutex *mutex) +{ + BH_UNUSED(mutex); +} + + +int BH_MutexLock(BH_Mutex *mutex) +{ + BH_UNUSED(mutex); + + return BH_NOIMPL; +} + + +int BH_MutexUnlock(BH_Mutex *mutex) +{ + BH_UNUSED(mutex); + + return BH_NOIMPL; +} + + +int BH_MutexLockTry(BH_Mutex *mutex) +{ + BH_UNUSED(mutex); + + return BH_NOIMPL; +} |
