BDE 4.14.0 Production release
|
#include <bsls_atomicoperations.h>
Public Types | |
typedef AtomicOperations_Imp | Imp |
typedef Atomic_TypeTraits< Imp > | AtomicTypes |
Static Public Member Functions | |
static int | getInt (AtomicTypes::Int const *atomicInt) |
static int | getIntAcquire (AtomicTypes::Int const *atomicInt) |
static int | getIntRelaxed (AtomicTypes::Int const *atomicInt) |
static void | initInt (AtomicTypes::Int *atomicInt, int initialValue=0) |
static void | setInt (AtomicTypes::Int *atomicInt, int value) |
static void | setIntRelaxed (AtomicTypes::Int *atomicInt, int value) |
static void | setIntRelease (AtomicTypes::Int *atomicInt, int value) |
static int | swapInt (AtomicTypes::Int *atomicInt, int swapValue) |
static int | swapIntAcqRel (AtomicTypes::Int *atomicInt, int swapValue) |
static int | testAndSwapInt (AtomicTypes::Int *atomicInt, int compareValue, int swapValue) |
static int | testAndSwapIntAcqRel (AtomicTypes::Int *atomicInt, int compareValue, int swapValue) |
static void | addInt (AtomicTypes::Int *atomicInt, int value) |
static void | addIntAcqRel (AtomicTypes::Int *atomicInt, int value) |
static void | addIntRelaxed (AtomicTypes::Int *atomicInt, int value) |
static int | addIntNv (AtomicTypes::Int *atomicInt, int value) |
static int | addIntNvAcqRel (AtomicTypes::Int *atomicInt, int value) |
static int | addIntNvRelaxed (AtomicTypes::Int *atomicInt, int value) |
static void | decrementInt (AtomicTypes::Int *atomicInt) |
static void | decrementIntAcqRel (AtomicTypes::Int *atomicInt) |
static int | decrementIntNv (AtomicTypes::Int *atomicInt) |
static int | decrementIntNvAcqRel (AtomicTypes::Int *atomicInt) |
static void | incrementInt (AtomicTypes::Int *atomicInt) |
static void | incrementIntAcqRel (AtomicTypes::Int *atomicInt) |
static int | incrementIntNv (AtomicTypes::Int *atomicInt) |
static int | incrementIntNvAcqRel (AtomicTypes::Int *atomicInt) |
static int | subtractIntNv (AtomicTypes::Int *atomicInt, int value) |
static int | subtractIntNvAcqRel (AtomicTypes::Int *atomicInt, int value) |
static int | subtractIntNvRelaxed (AtomicTypes::Int *atomicInt, int value) |
static Types::Int64 | getInt64 (AtomicTypes::Int64 const *atomicInt) |
static Types::Int64 | getInt64Acquire (AtomicTypes::Int64 const *atomicInt) |
static Types::Int64 | getInt64Relaxed (AtomicTypes::Int64 const *atomicInt) |
static void | initInt64 (AtomicTypes::Int64 *atomicInt, Types::Int64 initialValue=0) |
static void | setInt64 (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static void | setInt64Relaxed (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static void | setInt64Release (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static Types::Int64 | swapInt64 (AtomicTypes::Int64 *atomicInt, Types::Int64 swapValue) |
static Types::Int64 | swapInt64AcqRel (AtomicTypes::Int64 *atomicInt, Types::Int64 swapValue) |
static Types::Int64 | testAndSwapInt64 (AtomicTypes::Int64 *atomicInt, Types::Int64 compareValue, Types::Int64 swapValue) |
static Types::Int64 | testAndSwapInt64AcqRel (AtomicTypes::Int64 *atomicInt, Types::Int64 compareValue, Types::Int64 swapValue) |
static void | addInt64 (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static void | addInt64AcqRel (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static void | addInt64Relaxed (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static Types::Int64 | addInt64Nv (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static Types::Int64 | addInt64NvAcqRel (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static Types::Int64 | addInt64NvRelaxed (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static void | decrementInt64 (AtomicTypes::Int64 *atomicInt) |
static void | decrementInt64AcqRel (AtomicTypes::Int64 *atomicInt) |
static Types::Int64 | decrementInt64Nv (AtomicTypes::Int64 *atomicInt) |
static Types::Int64 | decrementInt64NvAcqRel (AtomicTypes::Int64 *atomicInt) |
static void | incrementInt64 (AtomicTypes::Int64 *atomicInt) |
static void | incrementInt64AcqRel (AtomicTypes::Int64 *atomicInt) |
static Types::Int64 | incrementInt64Nv (AtomicTypes::Int64 *atomicInt) |
static Types::Int64 | incrementInt64NvAcqRel (AtomicTypes::Int64 *atomicInt) |
static Types::Int64 | subtractInt64Nv (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static Types::Int64 | subtractInt64NvAcqRel (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static Types::Int64 | subtractInt64NvRelaxed (AtomicTypes::Int64 *atomicInt, Types::Int64 value) |
static unsigned int | getUint (AtomicTypes::Uint const *atomicUint) |
static unsigned int | getUintAcquire (AtomicTypes::Uint const *atomicUint) |
static unsigned int | getUintRelaxed (AtomicTypes::Uint const *atomicUint) |
static void | initUint (AtomicTypes::Uint *atomicUint, unsigned int initialValue=0) |
static void | setUint (AtomicTypes::Uint *atomicUint, unsigned int value) |
static void | setUintRelaxed (AtomicTypes::Uint *atomicUint, unsigned int value) |
static void | setUintRelease (AtomicTypes::Uint *atomicUint, unsigned int value) |
static unsigned int | swapUint (AtomicTypes::Uint *atomicUint, unsigned int swapValue) |
static unsigned int | swapUintAcqRel (AtomicTypes::Uint *atomicUint, unsigned int swapValue) |
static unsigned int | testAndSwapUint (AtomicTypes::Uint *atomicUint, unsigned int compareValue, unsigned int swapValue) |
static unsigned int | testAndSwapUintAcqRel (AtomicTypes::Uint *atomicUint, unsigned int compareValue, unsigned int swapValue) |
static void | addUint (AtomicTypes::Uint *atomicUint, unsigned int value) |
static void | addUintAcqRel (AtomicTypes::Uint *atomicUint, unsigned int value) |
static void | addUintRelaxed (AtomicTypes::Uint *atomicUint, unsigned int value) |
static unsigned int | addUintNv (AtomicTypes::Uint *atomicUint, unsigned int value) |
static unsigned int | addUintNvAcqRel (AtomicTypes::Uint *atomicUint, unsigned int value) |
static unsigned int | addUintNvRelaxed (AtomicTypes::Uint *atomicUint, unsigned int value) |
static void | decrementUint (AtomicTypes::Uint *atomicUint) |
static void | decrementUintAcqRel (AtomicTypes::Uint *atomicUint) |
static unsigned int | decrementUintNv (AtomicTypes::Uint *atomicUint) |
static unsigned int | decrementUintNvAcqRel (AtomicTypes::Uint *atomicUint) |
static void | incrementUint (AtomicTypes::Uint *atomicUint) |
static void | incrementUintAcqRel (AtomicTypes::Uint *atomicUint) |
static unsigned int | incrementUintNv (AtomicTypes::Uint *atomicUint) |
static unsigned int | incrementUintNvAcqRel (AtomicTypes::Uint *atomicUint) |
static unsigned int | subtractUintNv (AtomicTypes::Uint *atomicUint, unsigned int value) |
static unsigned int | subtractUintNvAcqRel (AtomicTypes::Uint *atomicUint, unsigned int value) |
static unsigned int | subtractUintNvRelaxed (AtomicTypes::Uint *atomicUint, unsigned int value) |
static Types::Uint64 | getUint64 (AtomicTypes::Uint64 const *atomicUint) |
static Types::Uint64 | getUint64Acquire (AtomicTypes::Uint64 const *atomicUint) |
static Types::Uint64 | getUint64Relaxed (AtomicTypes::Uint64 const *atomicUint) |
static void | initUint64 (AtomicTypes::Uint64 *atomicUint, Types::Uint64 initialValue=0) |
static void | setUint64 (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static void | setUint64Relaxed (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static void | setUint64Release (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static Types::Uint64 | swapUint64 (AtomicTypes::Uint64 *atomicUint, Types::Uint64 swapValue) |
static Types::Uint64 | swapUint64AcqRel (AtomicTypes::Uint64 *atomicUint, Types::Uint64 swapValue) |
static Types::Uint64 | testAndSwapUint64 (AtomicTypes::Uint64 *atomicUint, Types::Uint64 compareValue, Types::Uint64 swapValue) |
static Types::Uint64 | testAndSwapUint64AcqRel (AtomicTypes::Uint64 *atomicUint, Types::Uint64 compareValue, Types::Uint64 swapValue) |
static void | addUint64 (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static void | addUint64AcqRel (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static void | addUint64Relaxed (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static Types::Uint64 | addUint64Nv (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static Types::Uint64 | addUint64NvAcqRel (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static Types::Uint64 | addUint64NvRelaxed (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static void | decrementUint64 (AtomicTypes::Uint64 *atomicUint) |
static void | decrementUint64AcqRel (AtomicTypes::Uint64 *atomicUint) |
static Types::Uint64 | decrementUint64Nv (AtomicTypes::Uint64 *atomicUint) |
static Types::Uint64 | decrementUint64NvAcqRel (AtomicTypes::Uint64 *atomicUint) |
static void | incrementUint64 (AtomicTypes::Uint64 *atomicUint) |
static void | incrementUint64AcqRel (AtomicTypes::Uint64 *atomicUint) |
static Types::Uint64 | incrementUint64Nv (AtomicTypes::Uint64 *atomicUint) |
static Types::Uint64 | incrementUint64NvAcqRel (AtomicTypes::Uint64 *atomicUint) |
static Types::Uint64 | subtractUint64Nv (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static Types::Uint64 | subtractUint64NvAcqRel (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static Types::Uint64 | subtractUint64NvRelaxed (AtomicTypes::Uint64 *atomicUint, Types::Uint64 value) |
static void * | getPtr (AtomicTypes::Pointer const *atomicPtr) |
static void * | getPtrAcquire (AtomicTypes::Pointer const *atomicPtr) |
static void * | getPtrRelaxed (AtomicTypes::Pointer const *atomicPtr) |
static void | initPointer (AtomicTypes::Pointer *atomicPtr, void *initialValue=0) |
static void | setPtr (AtomicTypes::Pointer *atomicPtr, void *value) |
static void | setPtrRelaxed (AtomicTypes::Pointer *atomicPtr, void *value) |
static void | setPtrRelease (AtomicTypes::Pointer *atomicPtr, void *value) |
static void * | swapPtr (AtomicTypes::Pointer *atomicPtr, void *swapValue) |
static void * | swapPtrAcqRel (AtomicTypes::Pointer *atomicPtr, void *swapValue) |
static void * | testAndSwapPtr (AtomicTypes::Pointer *atomicPtr, void *compareValue, void *swapValue) |
static void * | testAndSwapPtrAcqRel (AtomicTypes::Pointer *atomicPtr, void *compareValue, void *swapValue) |
AtomicOperations
provides a namespace for a suite of atomic operations on the following types as defined by the AtomicTypes
typedef: integer - AtomicTypes::Int
, 64bit integer - AtomicTypes::Int64
, pointer - AtomicTypes::Pointer
.
typedef AtomicOperations_Imp bsls::AtomicOperations::Imp |
|
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 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 sequential consistency 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 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 sequential consistency 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 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 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 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 value of the specified atomicInt
by 1, providing the sequential consistency memory ordering guarantee.
|
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 decrement the value of 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 decrement the value of the specified atomicUint
by 1, providing the sequential consistency memory ordering guarantee.
|
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 decrement the value of 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 atomicInt
, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically retrieve the value of the specified atomicInt
, providing the sequential consistency 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 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 retrieve the value of the specified atomicPtr
, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically retrieve the value of the specified atomicPtr
, providing the acquire memory ordering guarantee.
|
inlinestatic |
Atomically retrieve the value of the specified atomicPtr
, without providing any memory ordering guarantees.
|
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 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 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 atomicInt
by 1, providing the sequential consistency memory ordering guarantee.
|
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 |
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 |
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 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 |
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 atomicInt
and set its value to the optionally specified initialValue
.
|
inlinestatic |
Initialize the specified atomicInt
and set its value to the optionally specified initialValue
.
|
inlinestatic |
Initialize the specified atomicPtr
and set its value to the optionally specified initialValue
.
|
inlinestatic |
Initialize the specified atomicUint
and set its value to the optionally specified initialValue
.
|
inlinestatic |
Initialize the specified atomicUint
and set its value to the optionally specified initialValue
.
|
inlinestatic |
Atomically set the value of the specified atomicInt
to the specified value
, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically set the value of the specified atomicInt
to the specified value
, providing the sequential consistency memory ordering guarantee.
|
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 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 set the value of the specified atomicPtr
to the specified value
, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically set the value of the specified atomicPtr
to the specified value
, without providing any memory ordering guarantees.
|
inlinestatic |
Atomically set the value of the specified atomicPtr
to the specified value
, providing the release memory ordering guarantee.
|
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
, 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 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 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 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 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 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 atomicInt
to the specified swapValue
, and return its previous value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically set the value of the specified atomicInt
to the specified swapValue
and return its previous value, providing the sequential consistency memory ordering guarantee.
|
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 |
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 |
Atomically set the value of the specified atomicPtr
to the specified swapValue
, and return its previous value, providing the sequential consistency memory ordering guarantee.
|
inlinestatic |
Atomically set the value of the specified atomicPtr
to the specified swapValue
, and return its previous value, providing the acquire/release memory ordering guarantee.
|
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 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 |
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 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.
|
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.
|
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 acquire/release memory ordering guarantee. The whole operation is performed atomically.
|
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 acquire/release memory ordering guarantee. The whole operation is performed atomically.
|
inlinestatic |
Conditionally set the value of the specified atomicPtr
to the specified swapValue
if and only if the value of atomicPtr
equals the value of the specified compareValue
, and return the initial value of atomicPtr
, providing the sequential consistency memory ordering guarantee. The whole operation is performed atomically.
|
inlinestatic |
Conditionally set the value of the specified atomicPtr
to the specified swapValue
if and only if the value of atomicPtr
equals the value of the specified compareValue
, and return the initial value of atomicPtr
, providing the acquire/release 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 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 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.
|
inlinestatic |
Conditionally set the value of the specified atomicUint
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 atomicUint
, providing the acquire/release memory ordering guarantee. The whole operation is performed atomically.