Atomically subtract from atomicInt and return the result.
Declared in <bsls_atomicoperations.h>
static
int
subtractIntNv(
AtomicTypes::Int* atomicInt,
int value);
Atomically subtract from the specified atomicInt the specified value and return the resulting value, providing the sequential consistency memory ordering guarantee.
value of atomicInt after the subtraction
| Name | Description |
|---|---|
| atomicInt | atomic integer to modify |
| value | amount to subtract |