![]() |
Murl Engine API
Version 2018.3
|
The mutex class. More...
#include <murl_system_mutex.h>
The mutex class.
To protect a code block for multi-threaded access, Lock() at the beginning of the block and Unlock() at the end of the block.
Public Member Functions | |
Mutex () | |
The default constructor. | |
~Mutex () | |
The destructor. | |
Bool | Lock () const |
Lock the mutex. More... | |
Bool | Unlock () const |
Unlock the mutex. More... | |
Protected Attributes | |
MutexHandle * | mHandle |
The anonymous mutex handle for internal use only. More... | |
Bool Murl::System::Mutex::Lock | ( | ) | const |
Lock the mutex.
Bool Murl::System::Mutex::Unlock | ( | ) | const |
Unlock the mutex.
|
mutableprotected |
The anonymous mutex handle for internal use only.