BloombergLP::bsls::AtomicOperations_DefaultPointer64::getPtr

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

Synopsis

Declared in <bsls_atomicoperations_default.h>

static
void*
getPtr(AtomicTypes::Pointer const* atomicPtr);

Return Value

current value of atomicPtr

Parameters

NameDescription
atomicPtratomic pointer whose value is read