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

Synopsis

Declared in <bsls_atomicoperations.h>

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

Return Value

value of atomicInt after the subtraction

Parameters

Name

Description

atomicInt

atomic integer to modify

value

amount to subtract

Created with MrDocs