This class provides a mutex API.
More...
#include <OS.hxx>
|
| os_mutex_t | handle |
| | Private mutex handle.
|
| |
This class provides a mutex API.
Definition at line 426 of file OS.hxx.
◆ OSMutex()
| OSMutex::OSMutex |
( |
bool |
recursive = false | ) |
|
|
inline |
Initialize a mutex.
- Parameters
-
| recursive | false creates a normal mutex, true creates a recursive mutex |
Definition at line 432 of file OS.hxx.
◆ ~OSMutex()
Destructor.
Definition at line 459 of file OS.hxx.
◆ lock()
Lock a mutex.
Definition at line 446 of file OS.hxx.
◆ unlock()
Unlock a mutex.
Definition at line 453 of file OS.hxx.
◆ OSMutexLock
◆ handle
| os_mutex_t OSMutex::handle |
|
private |
Private mutex handle.
Definition at line 469 of file OS.hxx.
The documentation for this class was generated from the following file: