Source/NFX/Collections/NamedInterlocked.cs
/// <summary>
/// Captures the current value of a named long value.
/// If slot does not exist, creates it and captures the value (which may be non-zero even if the slot was just created)
/// </summary>
Captures the current value of a named long value.
If slot does not exist, creates it and captures the value (which may be non-zero even if the slot was just created)
Captures the current value of a named long value . If slot does not exist creates it and captures the value ( which may be non - zero even if the slot was just created )
public long VolatileReadLong(string name)
      {
        var slot = getSlot(name);
        return Thread.VolatileRead( ref slot.Long );
      }
public long VolatileReadLong ( string name ) { var slot = getSlot ( name ) ; return Thread . VolatileRead ( ref slot . Long ) ; }
Captures the current value of a named long value.
Captures the current value of a named long value .
name
string