BloombergLP::bsls::AtomicOperations_DefaultUint::addUintNv

Atomically add to the specified atomicUint the specified value and return the resulting value, providing the sequential consistency memory ordering guarantee.

Synopsis

Declared in <bsls_atomicoperations_default.h>

static
unsigned int
addUintNv(
    AtomicTypes::Uint* atomicUint,
    unsigned int value);

Return Value

value of atomicUint after the addition

Parameters

NameDescription
atomicUintatomic unsigned integer to modify
valueamount to add