Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

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.

Parameters

  atomic | Pointer to atomic variable.
  value | Initial value.