|
BDE 4.14.0 Production release
|
#include <bsls_atomicoperations_default.h>
Public Types | |
| typedef Atomic_TypeTraits< IMP > | AtomicTypes |
Static Public Member Functions | |
| static Types::Int64 | getInt64Acquire (typename AtomicTypes::Int64 const *atomicInt) |
| static Types::Int64 | getInt64Relaxed (typename AtomicTypes::Int64 const *atomicInt) |
| static void | initInt64 (typename AtomicTypes::Int64 *atomicInt, Types::Int64 initialValue=0) |
| static void | setInt64Relaxed (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static void | setInt64Release (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static Types::Int64 | swapInt64AcqRel (typename AtomicTypes::Int64 *atomicInt, Types::Int64 swapValue) |
| static Types::Int64 | testAndSwapInt64AcqRel (typename AtomicTypes::Int64 *atomicInt, Types::Int64 compareValue, Types::Int64 swapValue) |
| static void | addInt64 (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static void | addInt64AcqRel (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static void | addInt64Relaxed (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static Types::Int64 | addInt64NvAcqRel (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static Types::Int64 | addInt64NvRelaxed (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static void | decrementInt64 (typename AtomicTypes::Int64 *atomicInt) |
| static void | decrementInt64AcqRel (typename AtomicTypes::Int64 *atomicInt) |
| static Types::Int64 | decrementInt64Nv (typename AtomicTypes::Int64 *atomicInt) |
| static Types::Int64 | decrementInt64NvAcqRel (typename AtomicTypes::Int64 *atomicInt) |
| static void | incrementInt64 (typename AtomicTypes::Int64 *atomicInt) |
| static void | incrementInt64AcqRel (typename AtomicTypes::Int64 *atomicInt) |
| static Types::Int64 | incrementInt64Nv (typename AtomicTypes::Int64 *atomicInt) |
| static Types::Int64 | incrementInt64NvAcqRel (typename AtomicTypes::Int64 *atomicInt) |
| static Types::Int64 | subtractInt64Nv (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static Types::Int64 | subtractInt64NvAcqRel (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
| static Types::Int64 | subtractInt64NvRelaxed (typename AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
This class provides default implementations of non-essential atomic operations for the 64-bit integer type independent on any specific platform. It also provides prototypes for the atomic operations for the 64-bit integer type that have to be implemented separately for each specific platform. These platform-independent and platform-specific atomic operations together form a full set of atomic operations for the 64-bit integer type.
| typedef Atomic_TypeTraits<IMP> bsls::AtomicOperations_DefaultInt64< IMP >::AtomicTypes |
|
inlinestatic |
Atomically add to the specified atomicInt the specified value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically add to the specified atomicInt the specified value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically add to the specified atomicInt the specified value and return the resulting value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically add to the specified atomicInt the specified value and return the resulting value, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically add to the specified atomicInt the specified value, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically decrement the specified atomicInt by 1, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically decrement the specified atomicInt by 1, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically decrement the specified atomicInt by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically decrement the specified atomicInt by 1 and return the resulting value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically retrieve the value of the specified atomicInt, providing the acquire memory ordering guarantee.
|
inlinestatic |
Atomically retrieve the value of the specified atomicInt, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically increment the value of the specified atomicInt by 1, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically increment the value of the specified atomicInt by 1, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically increment the specified atomicInt by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically increment the specified atomicInt by 1 and return the resulting value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Initialize the specified atomicInt and set its value to the optionally specified initialValue.
|
inlinestatic |
Atomically set the value of the specified atomicInt to the specified value, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically set the value of the specified atomicInt to the specified value, providing the release memory ordering guarantee.
|
inlinestatic |
Atomically subtract from the specified atomicInt the specified value and return the resulting value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically subtract from the specified atomicInt the specified value and return the resulting value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically subtract from the specified atomicInt the specified value and return the resulting value, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically set the value of the specified atomicInt to the specified swapValue and return its previous value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Conditionally set the value of the specified atomicInt to the specified swapValue if and only if the value of atomicInt equals the value of the specified compareValue, and return the initial value of atomicInt, providing the sequential consistency memory ordering guarantee. The whole operation is performed atomically.