RAII pthread mutex wrapper.
More...
#include <pthread_wrapper.hpp>
RAII pthread mutex wrapper.
Definition at line 408 of file pthread_wrapper.hpp.
◆ PThreadMutex() [1/2]
threadschedule::PThreadMutex::PThreadMutex |
( |
| ) |
|
|
inline |
◆ PThreadMutex() [2/2]
threadschedule::PThreadMutex::PThreadMutex |
( |
pthread_mutexattr_t const * | attr | ) |
|
|
inlineexplicit |
◆ ~PThreadMutex()
threadschedule::PThreadMutex::~PThreadMutex |
( |
| ) |
|
|
inline |
◆ lock()
void threadschedule::PThreadMutex::lock |
( |
| ) |
|
|
inline |
◆ native_handle()
auto threadschedule::PThreadMutex::native_handle |
( |
| ) |
-> pthread_mutex_t*
|
|
inline |
◆ try_lock()
auto threadschedule::PThreadMutex::try_lock |
( |
| ) |
-> bool
|
|
inline |
◆ unlock()
void threadschedule::PThreadMutex::unlock |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: