|
Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
The Mutex synchronization primitive is a thin wrapper around std::mutex. More...
#include <thread.hh>
Public Types | |
| typedef pthread_mutex_t * | native_handle_type |
Public Member Functions | |
| constexpr | Mutex (struct RECURSIVE_LOCK) |
| void | lock () |
| void | unlock () |
| bool | try_lock () |
| bool | debug_locked () |
| Debugging hook, returns if the Mutex is currently locked, might not work with all threading implementations. | |
| native_handle_type | native_handle () |
| Mutex (const Mutex &) | |
| Mutex & | operator= (const Mutex &) |
The Mutex synchronization primitive is a thin wrapper around std::mutex.
This class is a thin wrapper around pthread_mutex_lock() and related functions. This class supports static construction.
1.7.6.1