38 #ifndef BLOCXX_NON_RECURSIVE_MUTEX_IMPL_INCLUDE_GUARD_HPP_ 39 #define BLOCXX_NON_RECURSIVE_MUTEX_IMPL_INCLUDE_GUARD_HPP_ 40 #include "blocxx/BLOCXX_config.h" 56 namespace NonRecursiveMutexImpl
64 BLOCXX_COMMON_API
int createMutex(NonRecursiveMutex_t& handle);
74 BLOCXX_COMMON_API
int destroyMutex(NonRecursiveMutex_t& handle);
83 BLOCXX_COMMON_API
int acquireMutex(NonRecursiveMutex_t& handle);
90 BLOCXX_COMMON_API
int releaseMutex(NonRecursiveMutex_t& handle);
92 BLOCXX_COMMON_API
int conditionPreWait(NonRecursiveMutex_t& handle, NonRecursiveMutexLockState&
state);
BLOCXX_COMMON_API int releaseMutex(NonRecursiveMutex_t &handle)
Release a mutex that was previously acquired with the acquireMutex method.
BLOCXX_COMMON_API int conditionPreWait(NonRecursiveMutex_t &handle, NonRecursiveMutexLockState &state)
BLOCXX_COMMON_API int createMutex(NonRecursiveMutex_t &handle)
Create a platform specific mutext handle.
BLOCXX_COMMON_API int conditionPostWait(NonRecursiveMutex_t &handle, NonRecursiveMutexLockState &state)
BLOCXX_COMMON_API int destroyMutex(NonRecursiveMutex_t &handle)
Destroy a mutex previously created with createMutex.
BLOCXX_COMMON_API int acquireMutex(NonRecursiveMutex_t &handle)
Acquire the mutex specified by a given mutex handle.