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