39#include "blocxx/BLOCXX_config.h"
61 assert(0 ==
"MutexImpl::destroyMutex failed because it is currently locked.");
65 assert(0 ==
"MutexImpl::destroyMutex failed.");
75 "MutexImpl::acquireMutex returned with error");
#define BLOCXX_THROW(exType, msg)
Throw an exception using FILE and LINE.
bool release()
Release ownership of this Mutex object.
Mutex()
Create a new recursive Mutex object.
~Mutex()
Destroy this Mutex object.
void acquire()
Acquire ownership of this Mutex object.
BLOCXX_COMMON_API int acquireMutex(Mutex_t &handle)
Acquire the mutex specified by a given mutex handle.
BLOCXX_COMMON_API int destroyMutex(Mutex_t &handle)
Destroy a mutex previously created with createMutex.
BLOCXX_COMMON_API int releaseMutex(Mutex_t &handle)
Release a mutex that was previously acquired with the acquireMutex method.
BLOCXX_COMMON_API int createMutex(Mutex_t &handle)
Create a platform specific mutext handle.