BloombergLP::bsls::AtomicOperations::addUintNvRelaxed

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
unsigned int
addUintNvRelaxed(
    AtomicTypes::Uint* atomicUint,
    unsigned int value);

Return Value

value of atomicUint after the addition

Parameters

NameDescription
atomicUintatomic unsigned integer to modify
valueamount to add