Atomically set the value of the specified atomicPtr to the specified value, without providing any memory ordering guarantees.

Synopsis

Declared in <bsls_atomicoperations_default.h>

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

Parameters

Name

Description

atomicPtr

atomic pointer to modify

value

new value to store

Created with MrDocs