#include <mutex.hpp>
Public Types | |
typedef pthread_mutex_t * | native_handle_type |
Public Member Functions | |
mutex () | |
~mutex () | |
void | lock () |
void | unlock () |
bool | try_lock () |
native_handle_type | native_handle () |
mutex () | |
~mutex () | |
BOOST_STATIC_CONSTANT (unsigned char, lock_flag_bit=31) | |
BOOST_STATIC_CONSTANT (unsigned char, event_set_flag_bit=30) | |
BOOST_STATIC_CONSTANT (long, lock_flag_value=1<< lock_flag_bit) | |
BOOST_STATIC_CONSTANT (long, event_set_flag_value=1<< event_set_flag_bit) | |
void | initialize () |
void | destroy () |
void | mark_waiting_and_try_lock (long &old_count) |
void | clear_waiting_and_try_lock (long &old_count) |
Public Attributes | |
long | active_count |
void * | event |
typedef pthread_mutex_t* boost::mutex::native_handle_type |
|
inline |
References boost::throw_exception().
|
inline |
References BOOST_ASSERT, boost::ignore_unused(), and boost::posix::pthread_mutex_destroy().
|
inline |
References boost::detail::basic_timed_mutex::initialize().
|
inline |
References boost::detail::basic_timed_mutex::destroy().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
References boost::current.
Referenced by boost::detail::basic_timed_mutex::lock().
|
inlineinherited |
Referenced by ~mutex(), and boost::timed_mutex::~timed_mutex().
|
inlineinherited |
Referenced by mutex(), and boost::timed_mutex::timed_mutex().
|
inline |
References boost::interprocess::lock_error, boost::posix::pthread_mutex_lock(), and boost::throw_exception().
Referenced by boost::interprocess::ipcdetail::shm_named_recursive_mutex::lock(), boost::interprocess::named_sharable_mutex::lock(), boost::interprocess::named_upgradable_mutex::lock(), and boost::interprocess::interprocess_recursive_mutex::lock().
|
inlineinherited |
References boost::current.
Referenced by boost::detail::basic_timed_mutex::lock().
|
inline |
|
inline |
|
inline |
References boost::interprocess::lock_error, boost::posix::pthread_mutex_unlock(), and boost::throw_exception().
Referenced by boost::interprocess::ipcdetail::shm_named_recursive_mutex::unlock(), boost::interprocess::named_sharable_mutex::unlock(), boost::interprocess::named_upgradable_mutex::unlock(), and boost::interprocess::interprocess_recursive_mutex::unlock().
|
inherited |
Referenced by boost::detail::basic_timed_mutex::lock().
|
inherited |