1
2
3
4
5
6 #ifndef CMAJOR_RT_MUTEX_INCLUDED
7 #define CMAJOR_RT_MUTEX_INCLUDED
8 #include <cmajor/rt/RtApi.hpp>
9
10 extern "C" void* RtAllocateMutex();
11 extern "C" void RtFreeMutex(void* nativeHandle);
12 extern "C" void RtLockMutex(void* nativeHandle);
13 extern "C" void RtUnlockMutex(void* nativeHandle);
14
15 extern "C" void* RtAllocateRecursiveMutex();
16 extern "C" void RtFreeRecursiveMutex(void* nativeHandle);
17 extern "C" void RtLockRecursiveMutex(void* nativeHandle);
18 extern "C" void RtUnlockRecursiveMutex(void* nativeHandle);
19
20 #endif // CMAJOR_RT_MUTEX_INCLUDED