Atomic<T>.exchange
Description
Atomically replace the stored T value with a new T value and return replaced value
Signature
T Atomic<T>.exchange( T newValue, MemoryOrder order) where T : IAtomicable;
Atomically replace the stored T value with a new T value and return replaced value
T Atomic<T>.exchange( T newValue, MemoryOrder order) where T : IAtomicable;