BloombergLP::bsls::AtomicInt::subtractRelaxed

Atomically subtract the specified value to this object and return the resulting value, providing the relaxed memory ordering guarantee.

Synopsis

Declared in <bsls_atomic.h>

int
subtractRelaxed(int value);

Return Value

value of this object after the subtraction

Parameters

NameDescription
valuevalue to subtract