BloombergLP::bsls::AtomicOperations::getIntAcquire

Atomically retrieve the value of the specified atomicInt, providing the acquire memory ordering guarantee.

Synopsis

Declared in <bsls_atomicoperations.h>

static
int
getIntAcquire(AtomicTypes::Int const* atomicInt);

Return Value

current value of atomicInt

Parameters

NameDescription
atomicIntatomic integer to load