C# Class RampUp.Atomics.AtomicLong

A wrapper around an address under which long is stored. Besides Read, Write provides threadsafe access with possible Aquire-Release Fence semantics.
Mostrar archivo Open project: Scooletz/RampUp Class Usage Examples

Public Methods

Method Description
AtomicLong ( byte ptr ) : System
ToString ( ) : string

Private Methods

Method Description
CompareExchange ( long value, long comparand ) : long
Read ( ) : long
VolatileRead ( ) : long
VolatileWrite ( long value ) : void
Write ( long value ) : void

Method Details

AtomicLong() public method

public AtomicLong ( byte ptr ) : System
ptr byte
return System

ToString() public method

public ToString ( ) : string
return string