BloombergLP::bsls::AtomicOperations_DefaultInt::addIntNvAcqRel

Atomically add to the specified atomicInt the specified value and return the resulting value, providing the acquire/release memory ordering guarantee.

Synopsis

Declared in <bsls_atomicoperations_default.h>

static
int
addIntNvAcqRel(
    AtomicTypes::Int* atomicInt,
    int value);