Atomically subtract from atomicUint with acquire/release ordering.
Synopsis
Declared in <bsls_atomicoperations.h>
static
Types::Uint64
subtractUint64NvAcqRel(
AtomicTypes::Uint64* atomicUint,
Types::Uint64 value);
Description
Atomically subtract from the specified atomicUint the specified value and return the resulting value, providing the acquire/release memory ordering guarantee.
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