Beispiel #1
0
 public void Halt()
 {
     isRunning.WriteUnfenced(false);
     barriers[0].Alert();
 }
 public void WriteUnfencedInitialValue()
 {
     _volatile.WriteUnfenced(NewValue);
     Assert.AreEqual(NewValue, _volatile.ReadUnfenced());
 }