Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6API P6VOID* P6CCALL P6R::p6AtomicSetPtr ( P6VOID volatile **  pVar,
P6VOID *  pValue 
)

Atomically sets the value in the variable pointed to by pVar with the specified value.

Note
It is recommended that pVar be aligned on it's natural boundary for better performance. In this case pVar should by on an 8 byte (64-bit) aligned boundary.
Parameters
pVarThe address of the P6UINT64 whose value should be set.
pValueThe value to set.
Returns
The prior value in pVar.