Atomically subtract from the specified atomicInt the specified value and return the resulting value, providing the acquire/release memory ordering guarantee.
Declared in <bsls_atomicoperations_default.h>
static
Types::Int64
subtractInt64NvAcqRel(
AtomicTypes::Int64* atomicInt,
Types::Int64 value);
value of atomicInt after the subtraction
| Name | Description |
|---|---|
| atomicInt | atomic 64-bit integer to modify |
| value | amount to subtract |