#include <lock.h>
Public Types | |
typedef Mutex | mutex_type |
Public Member Functions | |
unique_lock () | |
unique_lock (mutex_type &m, LOCK_TYPE t=COMMON_LOCK) | |
void | lock () |
bool | try_lock () |
void | unlock () |
bool | owns_lock () |
mutex_type * | mutex () const |
virtual | ~unique_lock () |
Friends | |
class | condition_variable |
typedef Mutex amino::unique_lock< Mutex >::mutex_type |
amino::unique_lock< Mutex >::unique_lock | ( | ) | [inline] |
amino::unique_lock< Mutex >::unique_lock | ( | mutex_type & | m, | |
LOCK_TYPE | t = COMMON_LOCK | |||
) | [inline, explicit] |
virtual amino::unique_lock< Mutex >::~unique_lock | ( | ) | [inline, virtual] |
void amino::unique_lock< Mutex >::lock | ( | ) | [inline] |
bool amino::unique_lock< Mutex >::try_lock | ( | ) | [inline] |
void amino::unique_lock< Mutex >::unlock | ( | ) | [inline] |
bool amino::unique_lock< Mutex >::owns_lock | ( | ) | [inline] |
mutex_type* amino::unique_lock< Mutex >::mutex | ( | ) | const [inline] |
friend class condition_variable [friend] |