C# Class GSF.Threading.AtomicInt64

Since 64 bit reads/asignments are not atomic on a 32-bit process, this class wrapps the Interlocked class to if using a 32-bit process to ensure atomic reads/writes.
Exibir arquivo Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
AtomicInt64 ( long value ) : System

Creates a new AtomicInt64

Method Details

AtomicInt64() public method

Creates a new AtomicInt64
public AtomicInt64 ( long value ) : System
value long
return System