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

#include <barrier.hpp>

Public Member Functions

 barrier (unsigned int count)
 
template<typename F >
 barrier (unsigned int count, BOOST_THREAD_RV_REF(F) funct, typename enable_if< typename is_void< typename result_of< F >::type >::type, dummy * >::type=0)
 
template<typename F >
 barrier (unsigned int count, F &funct, typename enable_if< typename is_void< typename result_of< F >::type >::type, dummy * >::type=0)
 
template<typename F >
 barrier (unsigned int count, BOOST_THREAD_RV_REF(F) funct, typename enable_if< typename is_same< typename result_of< F >::type, unsigned int >::type, dummy * >::type=0)
 
template<typename F >
 barrier (unsigned int count, F &funct, typename enable_if< typename is_same< typename result_of< F >::type, unsigned int >::type, dummy * >::type=0)
 
 barrier (unsigned int count, void(*funct)())
 
 barrier (unsigned int count, unsigned int(*funct)())
 
bool wait ()
 
void count_down_and_wait ()
 

Constructor & Destructor Documentation

boost::interprocess::barrier::barrier ( unsigned int  count)
inlineexplicit
template<typename F >
boost::barrier::barrier ( unsigned int  count,
BOOST_THREAD_RV_REF(F)  funct,
typename enable_if< typename is_void< typename result_of< F >::type >::type, dummy * >::type  = 0 
)
inline
template<typename F >
boost::barrier::barrier ( unsigned int  count,
F &  funct,
typename enable_if< typename is_void< typename result_of< F >::type >::type, dummy * >::type  = 0 
)
inline
template<typename F >
boost::barrier::barrier ( unsigned int  count,
BOOST_THREAD_RV_REF(F)  funct,
typename enable_if< typename is_same< typename result_of< F >::type, unsigned int >::type, dummy * >::type  = 0 
)
inline
template<typename F >
boost::barrier::barrier ( unsigned int  count,
F &  funct,
typename enable_if< typename is_same< typename result_of< F >::type, unsigned int >::type, dummy * >::type  = 0 
)
inline
boost::barrier::barrier ( unsigned int  count,
void(*)()  funct 
)
inline
boost::barrier::barrier ( unsigned int  count,
unsigned int(*)()  funct 
)
inline

Member Function Documentation

void boost::barrier::count_down_and_wait ( )
inline

References wait().

bool boost::interprocess::barrier::wait ( void  )
inline

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