STXXL
1.4-dev
|
Public Member Functions | |
mutex () | |
construct unlocked mutex More... | |
~mutex () noexcept(false) | |
destroy mutex handle More... | |
void | lock () |
lock mutex, may block More... | |
pthread_mutex_t & | native_handle () |
return platform specific handle More... | |
void | unlock () |
unlock mutex More... | |
Private Attributes | |
pthread_mutex_t | m_mutex |
mutex handle More... | |
Additional Inherited Members | |
Private Member Functions inherited from stxxl::noncopyable | |
noncopyable () | |
|
inline |
construct unlocked mutex
Definition at line 57 of file mutex.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inlinenoexcept |
destroy mutex handle
Definition at line 62 of file mutex.h.
References STXXL_CHECK_PTHREAD_CALL, and STXXL_THROW_ERRNO2.
|
inline |
|
inline |
|
inline |