Initialize the specified atomicPtr and set its value to the optionally specified initialValue.
Synopsis
Declared in <bsls_atomicoperations.h>
static
void
initPointer(
AtomicTypes::Pointer* atomicPtr,
void* initialValue = 0);
Parameters
Name |
Description |
atomicPtr |
atomic pointer to initialize |
initialValue |
initial value to store |
Created with MrDocs