Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
once_atomic.hpp File Reference
#include <boost/thread/detail/config.hpp>
#include <boost/cstdint.hpp>
#include <boost/thread/detail/move.hpp>
#include <boost/thread/detail/invoke.hpp>
#include <boost/core/no_exceptions_support.hpp>
#include <boost/bind.hpp>
#include <boost/atomic.hpp>
#include <boost/config/abi_prefix.hpp>
#include <boost/config/abi_suffix.hpp>
Include dependency graph for once_atomic.hpp:

Classes

struct  boost::once_flag
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::thread_detail
 

Macros

#define BOOST_ONCE_INIT   {0}
 
#define BOOST_THREAD_INVOKE_RET_VOID   boost::bind
 
#define BOOST_THREAD_INVOKE_RET_VOID_CALL   ()
 

Typedefs

typedef unsigned int boost::thread_detail::atomic_int_type
 
typedef boost::atomic
< atomic_int_type > 
boost::thread_detail::atomic_type
 

Functions

BOOST_THREAD_DECL bool boost::thread_detail::enter_once_region (once_flag &flag) BOOST_NOEXCEPT
 
BOOST_THREAD_DECL void boost::thread_detail::commit_once_region (once_flag &flag) BOOST_NOEXCEPT
 
BOOST_THREAD_DECL void boost::thread_detail::rollback_once_region (once_flag &flag) BOOST_NOEXCEPT
 
atomic_type & boost::thread_detail::get_atomic_storage (once_flag &flag) BOOST_NOEXCEPT
 
template<typename Function , class... ArgTypes>
void boost::call_once (once_flag &flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)...args)
 

Macro Definition Documentation

#define BOOST_ONCE_INIT   {0}
#define BOOST_THREAD_INVOKE_RET_VOID   boost::bind
#define BOOST_THREAD_INVOKE_RET_VOID_CALL   ()