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

Synopsis

Declared in <bsls_atomicoperations_all_all_clangintrinsics.h>

static
void
setInt(
    AtomicTypes::Int* atomicInt,
    int value);

Parameters

Name

Description

atomicInt

atomic integer to modify

value

new value to store

Created with MrDocs