|
BDE 4.14.0 Production release
|
#include <bsls_atomicoperations_default.h>
Public Types | |
| typedef Atomic_TypeTraits< IMP > | AtomicTypes |
Static Public Member Functions | |
| static Types::Uint64 | getUint64 (typename AtomicTypes::Uint64 const *atomicUint) |
| static Types::Uint64 | getUint64Acquire (typename AtomicTypes::Uint64 const *atomicUint) |
| static Types::Uint64 | getUint64Relaxed (typename AtomicTypes::Uint64 const *atomicUint) |
| static void | initUint64 (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 initialValue=0) |
| static void | setUint64 (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static void | setUint64Relaxed (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static void | setUint64Release (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static Types::Uint64 | swapUint64 (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 swapValue) |
| static Types::Uint64 | swapUint64AcqRel (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 swapValue) |
| static Types::Uint64 | testAndSwapUint64 (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 compareValue, Types::Uint64 swapValue) |
| static Types::Uint64 | testAndSwapUint64AcqRel (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 compareValue, Types::Uint64 swapValue) |
| static void | addUint64 (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static void | addUint64AcqRel (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static void | addUint64Relaxed (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static Types::Uint64 | addUint64Nv (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static Types::Uint64 | addUint64NvAcqRel (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static Types::Uint64 | addUint64NvRelaxed (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static void | decrementUint64 (typename AtomicTypes::Uint64 *atomicUint) |
| static void | decrementUint64AcqRel (typename AtomicTypes::Uint64 *atomicUint) |
| static Types::Uint64 | decrementUint64Nv (typename AtomicTypes::Uint64 *atomicUint) |
| static Types::Uint64 | decrementUint64NvAcqRel (typename AtomicTypes::Uint64 *atomicUint) |
| static void | incrementUint64 (typename AtomicTypes::Uint64 *atomicUint) |
| static void | incrementUint64AcqRel (typename AtomicTypes::Uint64 *atomicUint) |
| static Types::Uint64 | incrementUint64Nv (typename AtomicTypes::Uint64 *atomicUint) |
| static Types::Uint64 | incrementUint64NvAcqRel (typename AtomicTypes::Uint64 *atomicUint) |
| static Types::Uint64 | subtractUint64Nv (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static Types::Uint64 | subtractUint64NvAcqRel (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
| static Types::Uint64 | subtractUint64NvRelaxed (typename AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
This class provides default implementations of non-essential atomic operations for the 64-bit unsigned integer type independent on any specific platform. It also provides prototypes for the atomic operations for the 64-bit unsigned 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 unsigned integer type.
Note that AtomicOperations_DefaultUint64 is implemented in terms of the following atomic operations on the Int64 type that must be provided by the IMP template parameter.
| typedef Atomic_TypeTraits<IMP> bsls::AtomicOperations_DefaultUint64< IMP >::AtomicTypes |
|
inlinestatic |
Atomically add to the specified atomicUint the specified value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically add to the specified atomicUint the specified value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically add to the specified atomicUint the specified value and return the resulting value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically add to the specified atomicUint the specified value and return the resulting value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically add to the specified atomicUint the specified value and return the resulting value, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically add to the specified atomicUint the specified value, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically decrement the specified atomicUint by 1, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically decrement the specified atomicUint by 1, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically decrement the specified atomicUint by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically decrement the specified atomicUint by 1 and return the resulting value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically retrieve the value of the specified atomicUint, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically retrieve the value of the specified atomicUint, providing the acquire memory ordering guarantee.
|
inlinestatic |
Atomically retrieve the value of the specified atomicUint, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically increment the value of the specified atomicUint by 1, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically increment the value of the specified atomicUint by 1, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically increment the specified atomicUint by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically increment the specified atomicUint by 1 and return the resulting value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Initialize the specified atomicUint and set its value to the optionally specified initialValue.
|
inlinestatic |
Atomically set the value of the specified atomicUint to the specified value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically set the value of the specified atomicUint to the specified value, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically set the value of the specified atomicUint to the specified value, providing the release memory ordering guarantee.
|
inlinestatic |
Atomically subtract from the specified atomicUint the specified value and return the resulting value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically subtract from the specified atomicUint the specified value and return the resulting value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Atomically subtract from the specified atomicUint the specified value and return the resulting value, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically set the value of the specified atomicUint to the specified swapValue and return its previous value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically set the value of the specified atomicUint to the specified swapValue and return its previous value, providing the acquire/release memory ordering guarantee.
|
inlinestatic |
Conditionally set the value of the specified atomicUint to the specified swapValue if and only if the value of atomicUint equals the value of the specified compareValue, and return the initial value of atomicUint, providing the sequential consistency memory ordering guarantee. The whole operation is performed atomically.
|
inlinestatic |
Conditionally set the value of the specified atomicUint to the specified swapValue if and only if the value of atomicUint equals the value of the specified compareValue, and return the initial value of atomicUint, providing the acquire/release memory ordering guarantee. The whole operation is performed atomically.