#include <string.h>
#include <boost/memory_order.hpp>
#include <boost/smart_ptr/detail/spinlock_pool.hpp>
Go to the source code of this file.
|
class | boost::detail::atomic::base_atomic< T, C, Size, Sign > |
|
class | boost::detail::atomic::base_atomic< T *, void *, Size, Sign > |
|
class | boost::detail::atomic::base_atomic< T, int, Size, Sign > |
|
class | boost::detail::atomic::base_atomic< void *, void *, Size, Sign > |
|
◆ BOOST_ATOMIC_DECLARE_ADDITIVE_OPERATORS
#define BOOST_ATOMIC_DECLARE_ADDITIVE_OPERATORS |
◆ BOOST_ATOMIC_DECLARE_BASE_OPERATORS
#define BOOST_ATOMIC_DECLARE_BASE_OPERATORS |
Value: operator value_type(void) volatile const \
{ \
} \
\
this_type & \
operator=(value_type v) volatile \
{ \
return *const_cast<this_type *>(this); \
} \
\
bool \
compare_exchange_strong( \
value_type & expected, \
value_type desired, \
{ \
} \
\
bool \
compare_exchange_weak( \
value_type & expected, \
value_type desired, \
{ \
} \
\
Definition at line 19 of file base.hpp.
◆ BOOST_ATOMIC_DECLARE_BIT_OPERATORS
#define BOOST_ATOMIC_DECLARE_BIT_OPERATORS |
Value: value_type \
operator&=(difference_type v) volatile \
{ \
return fetch_and(v) & v; \
} \
\
value_type \
operator|=(difference_type v) volatile \
{ \
return fetch_or(v) | v; \
} \
\
value_type \
operator^=(difference_type v) volatile \
{ \
return fetch_xor(v) ^ v; \
} \
Definition at line 88 of file base.hpp.
◆ BOOST_ATOMIC_DECLARE_INTEGRAL_OPERATORS
#define BOOST_ATOMIC_DECLARE_INTEGRAL_OPERATORS |
Value: BOOST_ATOMIC_DECLARE_BASE_OPERATORS \
BOOST_ATOMIC_DECLARE_ADDITIVE_OPERATORS \
BOOST_ATOMIC_DECLARE_BIT_OPERATORS \
Definition at line 111 of file base.hpp.
◆ BOOST_ATOMIC_DECLARE_POINTER_OPERATORS
#define BOOST_ATOMIC_DECLARE_POINTER_OPERATORS |
Value: BOOST_ATOMIC_DECLARE_BASE_OPERATORS \
BOOST_ATOMIC_DECLARE_ADDITIVE_OPERATORS \
Definition at line 107 of file base.hpp.