ContRap-Core
|
Class Mutex is a platform-independent mutex wrapper. More...
#include <thread.h>
Public Member Functions | |
Mutex () | |
Creates a new mutex. | |
~Mutex () | |
Releases memory. | |
void | lock () |
Locks the mutex. | |
void | unlock () |
Unlocks the mutex. |
crp::Mutex::Mutex | ( | ) |
Creates a new mutex.
crp::Mutex::~Mutex | ( | ) |
Releases memory.
void crp::Mutex::lock | ( | ) |
Locks the mutex.
void crp::Mutex::unlock | ( | ) |
Unlocks the mutex.