Atomically add to the specified atomicUint the specified value and return the resulting value, providing the sequential consistency memory ordering guarantee.

Synopsis

Declared in <bsls_atomicoperations_default.h>

static
unsigned int
addUintNv(
    AtomicTypes::Uint* atomicUint,
    unsigned int value);

Return Value

value of atomicUint after the addition

Parameters

Name

Description

atomicUint

atomic unsigned integer to modify

value

amount to add

Created with MrDocs