Functions | |
int | createMutex (Mutex_t &handle) |
Create a platform specific mutext handle. | |
int | destroyMutex (Mutex_t &handle) |
Destroy a mutex previously created with createMutex. | |
int | acquireMutex (Mutex_t &handle) |
Acquire the mutex specified by a given mutex handle. | |
int | releaseMutex (Mutex_t &handle) |
Release a mutex that was previously acquired with the acquireMutex method. |
The implementation for these functions must be provided on all platforms that OpenWbem runs on. It is essentially an abstraction layer over another mutex implementation.
|
Acquire the mutex specified by a given mutex handle. This method should block until the desired mutex can be acquired. The error return value is used to indicate critical errors.
Definition at line 152 of file OW_MutexImpl.cpp. References OW_NAMESPACE::Mutex_t::mutex. Referenced by OW_NAMESPACE::NonRecursiveMutex::acquire(), and OW_NAMESPACE::Mutex::acquire(). |
|
Create a platform specific mutext handle.
Definition at line 53 of file OW_MutexImpl.cpp. References OW_NAMESPACE::Mutex_t::mutex. Referenced by OW_NAMESPACE::Mutex::Mutex(). |
|
Destroy a mutex previously created with createMutex.
Definition at line 112 of file OW_MutexImpl.cpp. References OW_NAMESPACE::Mutex_t::mutex. Referenced by OW_NAMESPACE::Mutex::~Mutex(), and OW_NAMESPACE::NonRecursiveMutex::~NonRecursiveMutex(). |
|
Release a mutex that was previously acquired with the acquireMutex method.
Definition at line 195 of file OW_MutexImpl.cpp. References OW_NAMESPACE::Mutex_t::mutex. Referenced by OW_NAMESPACE::NonRecursiveMutex::release(), OW_NAMESPACE::Mutex::release(), OW_NAMESPACE::Mutex::~Mutex(), and OW_NAMESPACE::NonRecursiveMutex::~NonRecursiveMutex(). |