Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::timed_mutex Class Reference

#include <mutex.hpp>

Inheritance diagram for boost::timed_mutex:
Collaboration diagram for boost::timed_mutex:

Public Types

typedef pthread_mutex_t * native_handle_type
 

Public Member Functions

 timed_mutex ()
 
 ~timed_mutex ()
 
void lock ()
 
void unlock ()
 
bool try_lock ()
 
native_handle_type native_handle ()
 
 timed_mutex ()
 
 ~timed_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
 

Member Typedef Documentation

typedef pthread_mutex_t* boost::timed_mutex::native_handle_type

Constructor & Destructor Documentation

boost::timed_mutex::timed_mutex ( )
inline
boost::timed_mutex::~timed_mutex ( )
inline
boost::timed_mutex::timed_mutex ( )
inline
boost::timed_mutex::~timed_mutex ( )
inline

Member Function Documentation

boost::detail::basic_timed_mutex::BOOST_STATIC_CONSTANT ( unsigned  char,
lock_flag_bit  = 31 
)
inherited
boost::detail::basic_timed_mutex::BOOST_STATIC_CONSTANT ( unsigned  char,
event_set_flag_bit  = 30 
)
inherited
boost::detail::basic_timed_mutex::BOOST_STATIC_CONSTANT ( long  ,
lock_flag_value  = 1<< lock_flag_bit 
)
inherited
boost::detail::basic_timed_mutex::BOOST_STATIC_CONSTANT ( long  ,
event_set_flag_value  = 1<< event_set_flag_bit 
)
inherited
void boost::detail::basic_timed_mutex::clear_waiting_and_try_lock ( long &  old_count)
inlineinherited
void boost::detail::basic_timed_mutex::destroy ( )
inlineinherited
void boost::detail::basic_timed_mutex::initialize ( void  )
inlineinherited

Referenced by boost::mutex::mutex(), and timed_mutex().

void boost::timed_mutex::lock ( void  )
inline

References BOOST_VERIFY.

void boost::detail::basic_timed_mutex::mark_waiting_and_try_lock ( long &  old_count)
inlineinherited
native_handle_type boost::timed_mutex::native_handle ( )
inline
bool boost::timed_mutex::try_lock ( void  )
inline
void boost::timed_mutex::unlock ( void  )
inline

References BOOST_VERIFY.

Member Data Documentation

long boost::detail::basic_timed_mutex::active_count
inherited
void* boost::detail::basic_timed_mutex::event
inherited

The documentation for this class was generated from the following file: