[#BloombergLP-bsls-AtomicOperations] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::AtomicOperations :relfileprefix: ../../ :mrdocs: `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`. == Synopsis Declared in `<bsls_atomicoperations.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct AtomicOperations; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/AtomicOperations/AtomicTypes.adoc[`AtomicTypes`] | Alias for platform‐specific atomic integer, pointer, and Int64 types. | xref:BloombergLP/bsls/AtomicOperations/Imp.adoc[`Imp`] | Platform‐specific atomic operations implementation. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/AtomicOperations/addInt.adoc[`addInt`] | Atomically add to the specified `atomicInt` the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addInt64.adoc[`addInt64`] | Atomically add to the specified `atomicInt` the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addInt64AcqRel.adoc[`addInt64AcqRel`] | Atomically add to the specified `atomicInt` the specified `value`, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addInt64Nv.adoc[`addInt64Nv`] | Atomically add to the specified `atomicInt` the specified `value` and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addInt64NvAcqRel.adoc[`addInt64NvAcqRel`] | Atomically add to the specified `atomicInt` the specified `value` and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addInt64NvRelaxed.adoc[`addInt64NvRelaxed`] | Atomically add to the specified `atomicInt` the specified `value` and return the resulting value, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/addInt64Relaxed.adoc[`addInt64Relaxed`] | Atomically add to the specified `atomicInt` the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/addIntAcqRel.adoc[`addIntAcqRel`] | Atomically add to the specified `atomicInt` the specified `value`, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addIntNv.adoc[`addIntNv`] | Atomically add to the specified `atomicInt` the specified `value` and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addIntNvAcqRel.adoc[`addIntNvAcqRel`] | Atomically add to the specified `atomicInt` the specified `value` and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addIntNvRelaxed.adoc[`addIntNvRelaxed`] | Atomically add to the specified `atomicInt` the specified `value` and return the resulting value, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/addIntRelaxed.adoc[`addIntRelaxed`] | Atomically add to the specified `atomicInt` the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/addUint.adoc[`addUint`] | Atomically add to the specified `atomicUint` the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addUint64.adoc[`addUint64`] | Atomically add to the specified `atomicUint` the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addUint64AcqRel.adoc[`addUint64AcqRel`] | Atomically add to the specified `atomicUint` the specified `value`, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addUint64Nv.adoc[`addUint64Nv`] | Atomically add to the specified `atomicUint` the specified `value` and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addUint64NvAcqRel.adoc[`addUint64NvAcqRel`] | Atomically add to the specified `atomicUint` the specified `value` and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addUint64NvRelaxed.adoc[`addUint64NvRelaxed`] | Atomically add to the specified `atomicUint` the specified `value` and return the resulting value, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/addUint64Relaxed.adoc[`addUint64Relaxed`] | Atomically add to the specified `atomicUint` the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/addUintAcqRel.adoc[`addUintAcqRel`] | Atomically add to the specified `atomicUint` the specified `value`, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addUintNv.adoc[`addUintNv`] | Atomically add to the specified `atomicUint` the specified `value` and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addUintNvAcqRel.adoc[`addUintNvAcqRel`] | Atomically add to the specified `atomicUint` the specified `value` and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/addUintNvRelaxed.adoc[`addUintNvRelaxed`] | Atomically add to the specified `atomicUint` the specified `value` and return the resulting value, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/addUintRelaxed.adoc[`addUintRelaxed`] | Atomically add to the specified `atomicUint` the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/decrementInt.adoc[`decrementInt`] | Atomically decrement the value of the specified `atomicInt` by 1, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementInt64.adoc[`decrementInt64`] | Atomically decrement the specified `atomicInt` by 1, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementInt64AcqRel.adoc[`decrementInt64AcqRel`] | Atomically decrement the specified `atomicInt` by 1, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementInt64Nv.adoc[`decrementInt64Nv`] | Atomically decrement the specified `atomicInt` by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementInt64NvAcqRel.adoc[`decrementInt64NvAcqRel`] | Atomically decrement the specified `atomicInt` by 1 and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementIntAcqRel.adoc[`decrementIntAcqRel`] | Atomically decrement the value of the specified `atomicInt` by 1, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementIntNv.adoc[`decrementIntNv`] | Atomically decrement the specified `atomicInt` by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementIntNvAcqRel.adoc[`decrementIntNvAcqRel`] | Atomically decrement the specified `atomicInt` by 1 and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementUint.adoc[`decrementUint`] | Atomically decrement the value of the specified `atomicUint` by 1, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementUint64.adoc[`decrementUint64`] | Atomically decrement the specified `atomicUint` by 1, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementUint64AcqRel.adoc[`decrementUint64AcqRel`] | Atomically decrement the specified `atomicUint` by 1, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementUint64Nv.adoc[`decrementUint64Nv`] | Atomically decrement the specified `atomicUint` by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementUint64NvAcqRel.adoc[`decrementUint64NvAcqRel`] | Atomically decrement the specified `atomicUint` by 1 and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementUintAcqRel.adoc[`decrementUintAcqRel`] | Atomically decrement the value of the specified `atomicUint` by 1, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementUintNv.adoc[`decrementUintNv`] | Atomically decrement the specified `atomicUint` by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/decrementUintNvAcqRel.adoc[`decrementUintNvAcqRel`] | Atomically decrement the specified `atomicUint` by 1 and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getInt.adoc[`getInt`] | Atomically retrieve the value of the specified `atomicInt`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getInt64.adoc[`getInt64`] | Atomically retrieve the value of the specified `atomicInt`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getInt64Acquire.adoc[`getInt64Acquire`] | Atomically retrieve the value of the specified `atomicInt`, providing the acquire memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getInt64Relaxed.adoc[`getInt64Relaxed`] | Atomically retrieve the value of the specified `atomicInt`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/getIntAcquire.adoc[`getIntAcquire`] | Atomically retrieve the value of the specified `atomicInt`, providing the acquire memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getIntRelaxed.adoc[`getIntRelaxed`] | Atomically retrieve the value of the specified `atomicInt`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/getPtr.adoc[`getPtr`] | Atomically retrieve the value of the specified `atomicPtr`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getPtrAcquire.adoc[`getPtrAcquire`] | Atomically retrieve the value of the specified `atomicPtr`, providing the acquire memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getPtrRelaxed.adoc[`getPtrRelaxed`] | Atomically retrieve the value of the specified `atomicPtr`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/getUint.adoc[`getUint`] | Atomically retrieve the value of the specified `atomicUint`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getUint64.adoc[`getUint64`] | Atomically retrieve the value of the specified `atomicUint`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getUint64Acquire.adoc[`getUint64Acquire`] | Atomically retrieve the value of the specified `atomicUint`, providing the acquire memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getUint64Relaxed.adoc[`getUint64Relaxed`] | Atomically retrieve the value of the specified `atomicUint`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/getUintAcquire.adoc[`getUintAcquire`] | Atomically retrieve the value of the specified `atomicUint`, providing the acquire memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/getUintRelaxed.adoc[`getUintRelaxed`] | Atomically retrieve the value of the specified `atomicUint`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/incrementInt.adoc[`incrementInt`] | Atomically increment the value of the specified `atomicInt` by 1, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementInt64.adoc[`incrementInt64`] | Atomically increment the value of the specified `atomicInt` by 1, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementInt64AcqRel.adoc[`incrementInt64AcqRel`] | Atomically increment the value of the specified `atomicInt` by 1, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementInt64Nv.adoc[`incrementInt64Nv`] | Atomically increment the specified `atomicInt` by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementInt64NvAcqRel.adoc[`incrementInt64NvAcqRel`] | Atomically increment the specified `atomicInt` by 1 and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementIntAcqRel.adoc[`incrementIntAcqRel`] | Atomically increment the value of the specified `atomicInt` by 1, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementIntNv.adoc[`incrementIntNv`] | Atomically increment the specified `atomicInt` by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementIntNvAcqRel.adoc[`incrementIntNvAcqRel`] | Atomically increment the specified `atomicInt` by 1 and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementUint.adoc[`incrementUint`] | Atomically increment the value of the specified `atomicUint` by 1, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementUint64.adoc[`incrementUint64`] | Atomically increment the value of the specified `atomicUint` by 1, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementUint64AcqRel.adoc[`incrementUint64AcqRel`] | Atomically increment the value of the specified `atomicUint` by 1, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementUint64Nv.adoc[`incrementUint64Nv`] | Atomically increment the specified `atomicUint` by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementUint64NvAcqRel.adoc[`incrementUint64NvAcqRel`] | Atomically increment the specified `atomicUint` by 1 and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementUintAcqRel.adoc[`incrementUintAcqRel`] | Atomically increment the value of the specified `atomicUint` by 1, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementUintNv.adoc[`incrementUintNv`] | Atomically increment the specified `atomicUint` by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/incrementUintNvAcqRel.adoc[`incrementUintNvAcqRel`] | Atomically increment the specified `atomicUint` by 1 and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/initInt.adoc[`initInt`] | Initialize the specified `atomicInt` and set its value to the optionally specified `initialValue`. | xref:BloombergLP/bsls/AtomicOperations/initInt64.adoc[`initInt64`] | Initialize the specified `atomicInt` and set its value to the optionally specified `initialValue`. | xref:BloombergLP/bsls/AtomicOperations/initPointer.adoc[`initPointer`] | Initialize the specified `atomicPtr` and set its value to the optionally specified `initialValue`. | xref:BloombergLP/bsls/AtomicOperations/initUint.adoc[`initUint`] | Initialize the specified `atomicUint` and set its value to the optionally specified `initialValue`. | xref:BloombergLP/bsls/AtomicOperations/initUint64.adoc[`initUint64`] | Initialize the specified `atomicUint` and set its value to the optionally specified `initialValue`. | xref:BloombergLP/bsls/AtomicOperations/setInt.adoc[`setInt`] | Atomically set the value of the specified `atomicInt` to the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setInt64.adoc[`setInt64`] | Atomically set the value of the specified `atomicInt` to the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setInt64Relaxed.adoc[`setInt64Relaxed`] | Atomically set the value of the specified `atomicInt` to the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/setInt64Release.adoc[`setInt64Release`] | Atomically set the value of the specified `atomicInt` to the specified `value`, providing the release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setIntRelaxed.adoc[`setIntRelaxed`] | Atomically set the value of the specified `atomicInt` to the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/setIntRelease.adoc[`setIntRelease`] | Atomically set the value of the specified `atomicInt` to the specified `value`, providing the release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setPtr.adoc[`setPtr`] | Atomically set the value of the specified `atomicPtr` to the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setPtrRelaxed.adoc[`setPtrRelaxed`] | Atomically set the value of the specified `atomicPtr` to the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/setPtrRelease.adoc[`setPtrRelease`] | Atomically set the value of the specified `atomicPtr` to the specified `value`, providing the release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setUint.adoc[`setUint`] | Atomically set the value of the specified `atomicUint` to the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setUint64.adoc[`setUint64`] | Atomically set the value of the specified `atomicUint` to the specified `value`, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setUint64Relaxed.adoc[`setUint64Relaxed`] | Atomically set the value of the specified `atomicUint` to the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/setUint64Release.adoc[`setUint64Release`] | Atomically set the value of the specified `atomicUint` to the specified `value`, providing the release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/setUintRelaxed.adoc[`setUintRelaxed`] | Atomically set the value of the specified `atomicUint` to the specified `value`, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/setUintRelease.adoc[`setUintRelease`] | Atomically set the value of the specified `atomicUint` to the specified `value`, providing the release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractInt64Nv.adoc[`subtractInt64Nv`] | Atomically subtract from the specified `atomicInt` the specified `value` and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractInt64NvAcqRel.adoc[`subtractInt64NvAcqRel`] | Atomically subtract from the specified `atomicInt` the specified `value` and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractInt64NvRelaxed.adoc[`subtractInt64NvRelaxed`] | Atomically subtract from the specified `atomicInt` the specified `value` and return the resulting value, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/subtractIntNv.adoc[`subtractIntNv`] | Atomically subtract from the specified `atomicInt` the specified `value` and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractIntNvAcqRel.adoc[`subtractIntNvAcqRel`] | Atomically subtract from the specified `atomicInt` the specified `value` and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractIntNvRelaxed.adoc[`subtractIntNvRelaxed`] | Atomically subtract from the specified `atomicInt` the specified `value` and return the resulting value, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/subtractUint64Nv.adoc[`subtractUint64Nv`] | Atomically subtract from the specified `atomicUint` the specified `value` and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractUint64NvAcqRel.adoc[`subtractUint64NvAcqRel`] | Atomically subtract from the specified `atomicUint` the specified `value` and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractUint64NvRelaxed.adoc[`subtractUint64NvRelaxed`] | Atomically subtract from the specified `atomicUint` the specified `value` and return the resulting value, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/subtractUintNv.adoc[`subtractUintNv`] | Atomically subtract from the specified `atomicUint` the specified `value` and return the resulting value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractUintNvAcqRel.adoc[`subtractUintNvAcqRel`] | Atomically subtract from the specified `atomicUint` the specified `value` and return the resulting value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/subtractUintNvRelaxed.adoc[`subtractUintNvRelaxed`] | Atomically subtract from the specified `atomicUint` the specified `value` and return the resulting value, without providing any memory ordering guarantees. | xref:BloombergLP/bsls/AtomicOperations/swapInt.adoc[`swapInt`] | Atomically set the value of the specified `atomicInt` to the specified `swapValue`, and return its previous value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapInt64.adoc[`swapInt64`] | Atomically set the value of the specified `atomicInt` to the specified `swapValue` and return its previous value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapInt64AcqRel.adoc[`swapInt64AcqRel`] | Atomically set the value of the specified `atomicInt` to the specified `swapValue` and return its previous value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapIntAcqRel.adoc[`swapIntAcqRel`] | Atomically set the value of the specified `atomicInt` to the specified `swapValue`, and return its previous value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapPtr.adoc[`swapPtr`] | Atomically set the value of the specified `atomicPtr` to the specified `swapValue`, and return its previous value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapPtrAcqRel.adoc[`swapPtrAcqRel`] | Atomically set the value of the specified `atomicPtr` to the specified `swapValue`, and return its previous value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapUint.adoc[`swapUint`] | Atomically set the value of the specified `atomicUint` to the specified `swapValue`, and return its previous value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapUint64.adoc[`swapUint64`] | Atomically set the value of the specified `atomicUint` to the specified `swapValue` and return its previous value, providing the sequential consistency memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapUint64AcqRel.adoc[`swapUint64AcqRel`] | Atomically set the value of the specified `atomicUint` to the specified `swapValue` and return its previous value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/swapUintAcqRel.adoc[`swapUintAcqRel`] | Atomically set the value of the specified `atomicUint` to the specified `swapValue`, and return its previous value, providing the acquire/release memory ordering guarantee. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapInt.adoc[`testAndSwapInt`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapInt64.adoc[`testAndSwapInt64`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapInt64AcqRel.adoc[`testAndSwapInt64AcqRel`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapIntAcqRel.adoc[`testAndSwapIntAcqRel`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapPtr.adoc[`testAndSwapPtr`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapPtrAcqRel.adoc[`testAndSwapPtrAcqRel`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapUint.adoc[`testAndSwapUint`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapUint64.adoc[`testAndSwapUint64`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapUint64AcqRel.adoc[`testAndSwapUint64AcqRel`] | 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. | xref:BloombergLP/bsls/AtomicOperations/testAndSwapUintAcqRel.adoc[`testAndSwapUintAcqRel`] | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#