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

Synopsis

Declared in <bsls_atomicoperations_default.h>

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

Return Value

current value of atomicPtr

Parameters

Name

Description

atomicPtr

atomic pointer whose value is read

Created with MrDocs