BloombergLP::bsls::AtomicOperations::addUint64NvRelaxed

Atomically add to the specified atomicUint the specified value and return the resulting value, without providing any memory ordering guarantees.

Synopsis

Declared in <bsls_atomicoperations.h>

static
Types::Uint64
addUint64NvRelaxed(
    AtomicTypes::Uint64* atomicUint,
    Types::Uint64 value);

Return Value

value of atomicUint after the addition

Parameters

NameDescription
atomicUintatomic unsigned 64-bit integer to modify
valueamount to add