Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Base class that provides basic functionality for atomic<T> with fetch_and_add. More...
#include <atomic.h>
Public Types | |
typedef I | value_type |
![]() | |
typedef I | value_type |
Public Member Functions | |
template<memory_semantics M> | |
value_type | fetch_and_add (D addend) |
value_type | fetch_and_add (D addend) |
template<memory_semantics M> | |
value_type | fetch_and_increment () |
value_type | fetch_and_increment () |
template<memory_semantics M> | |
value_type | fetch_and_decrement () |
value_type | fetch_and_decrement () |
value_type | operator+= (D value) |
value_type | operator-= (D value) |
value_type | operator++ () |
value_type | operator-- () |
value_type | operator++ (int) |
value_type | operator-- (int) |
![]() | |
value_type | fetch_and_store (value_type value) |
value_type | fetch_and_store (value_type value) |
value_type | compare_and_swap (value_type value, value_type comparand) |
value_type | compare_and_swap (value_type value, value_type comparand) |
operator value_type () const volatile | |
value_type | load () const |
value_type | load () const |
void | store (value_type value) |
void | store (value_type value) |
Additional Inherited Members | |
![]() | |
value_type | store_with_release (value_type rhs) |
![]() | |
aligned_storage< I, sizeof(I)> | my_storage |
Base class that provides basic functionality for atomic<T> with fetch_and_add.
I is the underlying type. D is the difference type. StepType should be char if I is an integral type, and T if I is a T*.
typedef I tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::value_type |
|
inline |
Definition at line 356 of file atomic.h.
References tbb::internal::atomic_impl< I >::my_storage.
Referenced by tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_decrement(), tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_increment(), tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::operator++(), tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::operator+=(), and tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::operator--().
|
inline |
|
inline |
Definition at line 374 of file atomic.h.
References __TBB_MINUS_ONE.
|
inline |
Definition at line 378 of file atomic.h.
References __TBB_MINUS_ONE, and tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_add().
|
inline |
|
inline |
Definition at line 369 of file atomic.h.
References tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_add().
|
inline |
Definition at line 393 of file atomic.h.
References tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_add().
|
inline |
Definition at line 401 of file atomic.h.
References tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_add().
|
inline |
Definition at line 383 of file atomic.h.
References tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_add(), and value.
Referenced by tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::operator-=().
|
inline |
Definition at line 397 of file atomic.h.
References __TBB_MINUS_ONE, and tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_add().
|
inline |
Definition at line 405 of file atomic.h.
References __TBB_MINUS_ONE, and tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::fetch_and_add().
|
inline |
Definition at line 387 of file atomic.h.
References tbb::internal::atomic_impl_with_arithmetic< I, D, StepType >::operator+=(), and value.