public MyConcurrentHashSetEnumerator(HashSet <T> set, SpinLockRef.Token ilock)
 {
     setEnumerator = set.GetEnumerator();
     this.ilock    = ilock;
 }
 public EWrapper(Dictionary <TKey, TValue> .Enumerator enm, SpinLockRef.Token tok)
 {
     m_enumerator = enm;
     m_token      = tok;
 }
Exemplo n.º 3
0
 public SafeEnumerator(HashSet <V> set, SpinLockRef.Token ilock)
 {
     setEnumerator = set.GetEnumerator();
     this.ilock    = ilock;
 }