Zen API
|
void kAtomicPointer_Init | ( | kAtomicPointer * | atomic, |
kPointer | value | ||
) |
Initializes an atomic variable with a particular value.
This method is not thread-safe. It can be used for first initialization of an atomic value, before subsequent concurrent access.
atomic | Pointer to atomic variable. |
value | Initial value. |