Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
k32s kAtomic32s_Get ( kAtomic32s atomic)

Gets the current value of an atomic variable.

This method is thread-safe. Implements a full memory barrier.

Parameters
atomicPointer to atomic variable.
Returns
Atomic value.