Atomically add to the specified atomicInt the specified value, without providing any memory ordering guarantees.

Synopsis

Declared in <bsls_atomicoperations_default.h>

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

Parameters

Name

Description

atomicInt

atomic integer to modify

value

amount to add

Created with MrDocs