Zen API
|
void kAtomic32s_Init | ( | kAtomic32s * | atomic, |
k32s | 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. |