public ThreadSafeFasterList(FasterList <T> list) { if (list == null) { throw new ArgumentException("invalid list"); } _list = list; _lockQ = ReaderWriterLockSlimEx.Create(); }
public ThreadSafeFasterList() { _list = new FasterList <T>(); _lockQ = ReaderWriterLockSlimEx.Create(); }
public ThreadSafeValues(ReaderWriterLockSlimEx lockQ, FasterDictionary <TKey, TValue> dic) : this() { lockQ.EnterReadLock(); _lockQ = lockQ; _dic = dic; }