Atomically retrieve the value of the specified pointer.

Synopsis

Declared in <bsls_atomicoperations.h>

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

Description

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

Return Value

current value of atomicPtr

Parameters

Name

Description

atomicPtr

atomic pointer whose value is read

Created with MrDocs