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

Synopsis

Declared in <bsls_atomicoperations.h>

static
Types::Uint64
subtractUint64NvRelaxed(
    AtomicTypes::Uint64* atomicUint,
    Types::Uint64 value);

Return Value

value of atomicUint after the subtraction

Parameters

Name

Description

atomicUint

atomic unsigned 64‐bit integer to modify

value

amount to subtract

Created with MrDocs