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

Name

Description

atomicInt

atomic integer to load

Created with MrDocs