Atomically increment the specified atomicInt by 1 and return the resulting value, providing the sequential consistency memory ordering guarantee.
Synopsis
Declared in <bsls_atomicoperations_default.h>
static
int
incrementIntNv(AtomicTypes::Int* atomicInt);
Return Value
value of atomicInt after the increment
Parameters
Name |
Description |
atomicInt |
atomic integer to modify |
Created with MrDocs