BloombergLP::bsls::AtomicOperations::setPtr

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

Synopsis

Declared in <bsls_atomicoperations.h>

static
void
setPtr(
    AtomicTypes::Pointer* atomicPtr,
    void* value);

Parameters

NameDescription
atomicPtratomic pointer to update
valuevalue to store