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

Classes

struct  default_barrier_reseter
 
struct  void_fct_ptr_barrier_reseter
 
struct  void_functor_barrier_reseter
 

Typedefs

typedef
detail::nullary_function< void()> 
void_completion_function
 
typedef
detail::nullary_function
< size_t()> 
size_completion_function
 
typedef boost::uint32_t uintmax_atomic_t
 
typedef unsigned int atomic_int_type
 
typedef boost::atomic
< atomic_int_type
atomic_type
 

Functions

void noop ()
 
BOOST_THREAD_DECL
uintmax_atomic_t
get_once_per_thread_epoch ()
 
BOOST_THREAD_DECL bool enter_once_region (once_flag &flag) BOOST_NOEXCEPT
 
BOOST_THREAD_DECL void commit_once_region (once_flag &flag) BOOST_NOEXCEPT
 
BOOST_THREAD_DECL void rollback_once_region (once_flag &flag) BOOST_NOEXCEPT
 
atomic_typeget_atomic_storage (once_flag &flag) BOOST_NOEXCEPT
 

Variables

BOOST_THREAD_DECL uintmax_atomic_t once_global_epoch
 
BOOST_THREAD_DECL pthread_mutex_t once_epoch_mutex
 
BOOST_THREAD_DECL pthread_cond_t once_epoch_cv
 

Typedef Documentation

typedef detail::nullary_function<size_t()> boost::thread_detail::size_completion_function
typedef boost::uint32_t boost::thread_detail::uintmax_atomic_t
typedef detail::nullary_function<void()> boost::thread_detail::void_completion_function

Function Documentation

BOOST_THREAD_DECL void boost::thread_detail::commit_once_region ( once_flag &  flag)
BOOST_THREAD_DECL bool boost::thread_detail::enter_once_region ( once_flag &  flag)
atomic_type & boost::thread_detail::get_atomic_storage ( once_flag &  flag)
inline
BOOST_THREAD_DECL uintmax_atomic_t& boost::thread_detail::get_once_per_thread_epoch ( )

Referenced by boost::call_once().

void boost::thread_detail::noop ( )
BOOST_THREAD_DECL void boost::thread_detail::rollback_once_region ( once_flag &  flag)

Variable Documentation

BOOST_THREAD_DECL pthread_cond_t boost::thread_detail::once_epoch_cv

Referenced by boost::call_once().

BOOST_THREAD_DECL pthread_mutex_t boost::thread_detail::once_epoch_mutex

Referenced by boost::call_once().

BOOST_THREAD_DECL uintmax_atomic_t boost::thread_detail::once_global_epoch

Referenced by boost::call_once().