BloombergLP::bsls::AtomicOperations::getIntRelaxed

Atomically load *atomicInt with relaxed ordering.

Synopsis

Declared in <bsls_atomicoperations.h>

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

Description

Atomically retrieve the value of the specified atomicInt, without providing any memory ordering guarantees.

Return Value

current value of *atomicInt

Parameters

NameDescription
atomicIntatomic integer to load