ALBA
|
#include <albaMutexLock.h>
Public Member Functions | |
albaMutexLock () | |
~albaMutexLock () | |
void | Lock (void) const |
void | Unlock (void) const |
Protected Attributes | |
mmuPIMPLMutexLock * | m_PIMPLMutexLock |
Critical section locking class that can be allocated on the stack.
albaMutexLock allows the locking of variables which are accessed through different threads. On Windows 9x/NT platforms albaMutexLock is less flexible, in that it does not work across processes, but on the other hand it costs less: it does not evoke the 600-cycle x86 ring transition. The albaMutexLock provides a higher-performance locking mechanism on Windows, but won't work across processes.
Definition at line 32 of file albaMutexLock.h.
albaMutexLock::albaMutexLock | ( | ) |
Constructor and destructor left public purposely because of stack allocation.
albaMutexLock::~albaMutexLock | ( | ) |
void albaMutexLock::Lock | ( | void | ) | const |
Lock access.
void albaMutexLock::Unlock | ( | void | ) | const |
Unlock access.
|
protected |
Definition at line 45 of file albaMutexLock.h.