C# Class Helios.Util.AtomicCounterLong

Atomic counter that uses longs internally
Mostrar archivo Open project: helios-io/helios

Public Methods

Method Description
AtomicCounterLong ( long seed ) : System.Threading
GetAndIncrement ( ) : long

Returns the current value while simultaneously incrementing the counter

Method Details

AtomicCounterLong() public method

public AtomicCounterLong ( long seed ) : System.Threading
seed long
return System.Threading

GetAndIncrement() public method

Returns the current value while simultaneously incrementing the counter
public GetAndIncrement ( ) : long
return long