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