BloombergLP::bsls::AtomicOperations_ALL_ALL_ClangIntrinsics::setInt

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

NameDescription
atomicIntatomic integer to modify
valuenew value to store