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

Synopsis

Declared in <bsls_atomicoperations.h>

static
Types::Int64
addInt64NvRelaxed(
    AtomicTypes::Int64* atomicInt,
    Types::Int64 value);

Return Value

value of atomicInt after the addition

Parameters

Name

Description

atomicInt

atomic 64‐bit integer to modify

value

amount to add

Created with MrDocs