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

Synopsis

Declared in <bsls_atomicoperations.h>

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

Return Value

current value of atomicInt

Parameters

Name

Description

atomicInt

atomic integer to load

Created with MrDocs