Atomically subtract value from atomicUint and return the result.

Synopsis

Declared in <bsls_atomicoperations_default.h>

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

Description

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

Return Value

value of atomicUint after the subtraction

Parameters

Name

Description

atomicUint

atomic unsigned integer to modify

value

amount to subtract

Created with MrDocs