11 lines
221 B
C#
11 lines
221 B
C#
namespace mbts.co2 {
|
|
using System.Threading;
|
|
|
|
struct TimeStamp {
|
|
long _value;
|
|
|
|
public static ulong invalid_value => ulong.MaxValue;
|
|
public ulong time => (ulong)Interlocked.Read(ref _value);
|
|
}
|
|
}
|