public CSScopeMgrLite(SpinLockRef sl) { _sl = sl; _flag = false; if (!_sl.IsHeldByCurrentThread) { //bool flag = false; _sl.Enter(ref _flag); //_flag = flag; } }
public PairObj(object key) { this.Key = key; Cnt = 1; sLock = new SpinLockRef(); }
public CSScopeMgrLite(SpinLockRef sl) { _sl = sl; _flag = false; if (!_sl.IsHeldByCurrentThread) { //bool flag = false; _sl.Enter(ref _flag); //_flag = flag; } }
public PairObj(object key) { this.Key = key; Cnt = 1; sLock = new SpinLockRef(); }