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

#include <condition_variable.hpp>

Inheritance diagram for boost::condition_variable:
Collaboration diagram for boost::condition_variable:

Public Types

typedef pthread_cond_t * native_handle_type
 

Public Member Functions

bool do_wait_until (unique_lock< mutex > &lock, struct timespec const &timeout)
 
bool do_wait_for (unique_lock< mutex > &lock, struct timespec const &timeout)
 
 condition_variable ()
 
 ~condition_variable ()
 
void wait (unique_lock< mutex > &m)
 
template<typename predicate_type >
void wait (unique_lock< mutex > &m, predicate_type pred)
 
native_handle_type native_handle ()
 
void notify_one () BOOST_NOEXCEPT
 
void notify_all () BOOST_NOEXCEPT
 
 condition_variable ()
 
void wait (unique_lock< mutex > &m)
 
template<typename predicate_type >
void wait (unique_lock< mutex > &m, predicate_type pred)
 

Private Member Functions

template<typename lock_type >
bool do_wait (lock_type &lock, timeout abs_time)
 
template<typename lock_type , typename predicate_type >
bool do_wait (lock_type &m, timeout const &abs_time, predicate_type pred)
 

Member Typedef Documentation

Constructor & Destructor Documentation

boost::condition_variable::condition_variable ( )
inline
boost::condition_variable::~condition_variable ( )
inline
boost::condition_variable::condition_variable ( )
inline

Member Function Documentation

bool boost::condition_variable::do_wait_for ( unique_lock< mutex > &  lock,
struct timespec const &  timeout 
)
inline
bool boost::condition_variable::do_wait_until ( unique_lock< mutex > &  lock,
struct timespec const &  timeout 
)
inline
native_handle_type boost::condition_variable::native_handle ( )
inline
template<typename predicate_type >
void boost::condition_variable::wait ( unique_lock< mutex > &  m,
predicate_type  pred 
)
inline

References wait().

void boost::condition_variable::wait ( unique_lock< mutex > &  m)
inline
template<typename predicate_type >
void boost::condition_variable::wait ( unique_lock< mutex > &  m,
predicate_type  pred 
)
inline

References wait().


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