Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new object, locking the <see cref="ObsoleteSpinLock"/> passed across.
 /// </summary>
 /// <param name="spinLock"></param>
 public Acquire(ObsoleteSpinLock spinLock)
 {
     _SpinLock = spinLock;
     _SpinLock.Lock();
 }