#include <mutex.hpp>
Mutex implements a non-recursive mutex.
Definition at line 33 of file mutex.hpp.
◆ Mutex()
fastuidraw::Mutex::Mutex |
( |
void |
| ) |
|
◆ lock()
void fastuidraw::Mutex::lock |
( |
void |
| ) |
|
Aquire the lock of the mutex; only return once the lock is aquired.
◆ try_lock()
bool fastuidraw::Mutex::try_lock |
( |
void |
| ) |
|
Try to aquire the lock of the mutex; if the mutex is already locked return false; otherwise return true.
◆ unlock()
void fastuidraw::Mutex::unlock |
( |
void |
| ) |
|
Release the lock of the mutex.
The documentation for this class was generated from the following file:
- /home/kevin/fastuidraw.krogueintel/inc/fastuidraw/util/mutex.hpp