Atomically decrement the specified atomicInt by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee.

Synopsis

Declared in <bsls_atomicoperations.h>

static
int
decrementIntNv(AtomicTypes::Int* atomicInt);

Return Value

value of atomicInt after the operation

Parameters

Name

Description

atomicInt

atomic integer to modify

Created with MrDocs