Mutex.
More...
#include <mutex.h>
Mutex.
Definition at line 31 of file mutex.h.
◆ Lock
RAII lock.
Definition at line 34 of file mutex.h.
◆ Mutex()
roc::core::Mutex::Mutex |
( |
| ) |
|
◆ ~Mutex()
roc::core::Mutex::~Mutex |
( |
| ) |
|
◆ lock()
void roc::core::Mutex::lock |
( |
| ) |
const |
|
inline |
Lock mutex.
Definition at line 54 of file mutex.h.
◆ try_lock()
Try to lock the mutex.
Definition at line 43 of file mutex.h.
◆ unlock()
void roc::core::Mutex::unlock |
( |
| ) |
const |
|
inline |
Unlock mutex.
Definition at line 61 of file mutex.h.
The documentation for this class was generated from the following file:
- roc_core/target_posix/roc_core/mutex.h