Atomically add to the specified atomicInt the specified value, providing the acquire/release memory ordering guarantee.

Synopsis

Declared in <bsls_atomicoperations.h>

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

Parameters

Name

Description

atomicInt

atomic integer to modify

value

amount to add

Created with MrDocs