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

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.
valueThe value to set.
Returns
The prior value in pVar.