Atomically subtract from the specified atomicUint the specified value and return the resulting value, providing the acquire/release memory ordering guarantee.

Synopsis

Declared in <bsls_atomicoperations_default.h>

static
Types::Uint64
subtractUint64NvAcqRel(
    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