#include <lock_types.hpp>
Public Types | |
typedef Mutex | mutex_type |
Public Member Functions | |
upgrade_lock () BOOST_NOEXCEPT | |
upgrade_lock (Mutex &m_) | |
upgrade_lock (Mutex &m_, adopt_lock_t) | |
upgrade_lock (Mutex &m_, defer_lock_t) BOOST_NOEXCEPT | |
upgrade_lock (Mutex &m_, try_to_lock_t) | |
upgrade_lock (BOOST_THREAD_RV_REF_BEG upgrade_lock< Mutex > BOOST_THREAD_RV_REF_END other) BOOST_NOEXCEPT | |
BOOST_THREAD_EXPLICIT_LOCK_CONVERSION | upgrade_lock (BOOST_THREAD_RV_REF_BEG unique_lock< Mutex > BOOST_THREAD_RV_REF_END other) |
upgrade_lock & | operator= (BOOST_THREAD_RV_REF_BEG upgrade_lock< Mutex > BOOST_THREAD_RV_REF_END other) |
upgrade_lock & | operator= (BOOST_THREAD_RV_REF_BEG unique_lock< Mutex > BOOST_THREAD_RV_REF_END other) |
void | swap (upgrade_lock &other) BOOST_NOEXCEPT |
Mutex * | mutex () const BOOST_NOEXCEPT |
Mutex * | release () BOOST_NOEXCEPT |
~upgrade_lock () | |
void | lock () |
bool | try_lock () |
void | unlock () |
operator bool () const BOOST_NOEXCEPT | |
bool | owns_lock () const BOOST_NOEXCEPT |
Protected Attributes | |
Mutex * | m |
bool | is_locked |
Friends | |
class | shared_lock< Mutex > |
class | unique_lock< Mutex > |
typedef Mutex boost::upgrade_lock< Mutex >::mutex_type |
|
inline |
|
inlineexplicit |
References boost::upgrade_lock< Mutex >::lock().
|
inline |
References BOOST_ASSERT, and boost::is_locked_by_this_thread().
|
inline |
|
inline |
References boost::upgrade_lock< Mutex >::try_lock().
|
inline |
References boost::spirit::x3::unicode::other.
|
inline |
|
inline |
References boost::upgrade_lock< Mutex >::owns_lock().
|
inline |
|
inline |
References boost::upgrade_lock< Mutex >::m.
|
inlineexplicit |
References boost::upgrade_lock< Mutex >::owns_lock().
|
inline |
References boost::move(), and boost::upgrade_lock< Mutex >::swap().
|
inline |
References boost::move(), and boost::upgrade_lock< Mutex >::swap().
|
inline |
|
inline |
References boost::upgrade_lock< Mutex >::m.
|
inline |
References boost::spirit::x3::unicode::other, and boost::swap().
Referenced by boost::upgrade_lock< Mutex >::operator=().
|
inline |
|
inline |
|
friend |
|
friend |
|
protected |
Referenced by boost::upgrade_lock< Mutex >::owns_lock(), and boost::upgrade_lock< Mutex >::try_lock().
|
protected |
Referenced by boost::upgrade_lock< Mutex >::mutex(), and boost::upgrade_lock< Mutex >::release().