Initialize the specified atomicInt and set its value to the optionally specified initialValue.

Synopsis

Declared in <bsls_atomicoperations.h>

static
void
initInt(
    AtomicTypes::Int* atomicInt,
    int initialValue = 0);

Parameters

Name

Description

atomicInt

atomic integer to initialize

initialValue

initial value to store

Created with MrDocs