#include <lock_types.hpp>
Public Types | |
typedef Mutex | mutex_type |
Public Member Functions | |
unique_lock () BOOST_NOEXCEPT | |
unique_lock (Mutex &m_) | |
unique_lock (Mutex &m_, adopt_lock_t) | |
unique_lock (Mutex &m_, defer_lock_t) BOOST_NOEXCEPT | |
unique_lock (Mutex &m_, try_to_lock_t) | |
unique_lock (BOOST_THREAD_RV_REF(unique_lock) other) BOOST_NOEXCEPT | |
BOOST_THREAD_EXPLICIT_LOCK_CONVERSION | unique_lock (BOOST_THREAD_RV_REF_BEG upgrade_lock< Mutex > BOOST_THREAD_RV_REF_END other) |
unique_lock & | operator= (BOOST_THREAD_RV_REF_BEG upgrade_lock< Mutex > BOOST_THREAD_RV_REF_END other) |
unique_lock & | operator= (BOOST_THREAD_RV_REF(unique_lock) other) |
unique_lock (BOOST_THREAD_RV_REF_BEG upgrade_lock< mutex_type > BOOST_THREAD_RV_REF_END ul, try_to_lock_t) | |
void | swap (unique_lock &other) BOOST_NOEXCEPT |
~unique_lock () | |
void | lock () |
bool | try_lock () |
void | unlock () |
operator bool () const BOOST_NOEXCEPT | |
bool | owns_lock () const BOOST_NOEXCEPT |
Mutex * | mutex () const BOOST_NOEXCEPT |
Mutex * | release () BOOST_NOEXCEPT |
Friends | |
class | shared_lock< Mutex > |
class | upgrade_lock< Mutex > |
typedef Mutex boost::unique_lock< Mutex >::mutex_type |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
BOOST_THREAD_EXPLICIT_LOCK_CONVERSION boost::unique_lock< Mutex >::unique_lock | ( | BOOST_THREAD_RV_REF_BEG upgrade_lock< Mutex > BOOST_THREAD_RV_REF_END | other | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Referenced by boost::condition_variable::do_wait_until(), boost::unique_lock< Lockable >::lock(), boost::sync_bounded_queue< ValueType >::nonblocking_pull_front(), boost::sync_queue< ValueType >::nonblocking_pull_front(), boost::sync_bounded_queue< ValueType >::nonblocking_push_back(), boost::sync_queue< ValueType >::nonblocking_push_back(), boost::unique_lock< Lockable >::operator bool(), boost::sinks::bounded_fifo_queue< MaxQueueSizeV, OverflowStrategyT >::try_enqueue(), boost::sinks::unbounded_ordering_queue< OrderT >::try_enqueue(), boost::sinks::bounded_ordering_queue< OrderT, MaxQueueSizeV, OverflowStrategyT >::try_enqueue(), boost::sinks::basic_sink_frontend::try_feed_record(), boost::sinks::basic_formatting_sink_frontend< CharT >::try_feed_record(), boost::unique_lock< Lockable >::try_lock(), boost::detail::try_lock_impl(), boost::sync_bounded_queue< ValueType >::try_pull(), boost::sync_queue< ValueType >::try_pull(), boost::sync_bounded_queue< ValueType >::try_push(), boost::sync_queue< ValueType >::try_push(), boost::unique_lock< Lockable >::unique_lock(), boost::unique_lock< Lockable >::unlock(), boost::condition_variable::wait(), and boost::unique_lock< Lockable >::~unique_lock().
|
inline |
|
inline |
|
inline |
Referenced by boost::detail::lock_impl(), and boost::unique_lock< Lockable >::unique_lock().
|
inline |
|
friend |
|
friend |