public UseReadLock(string path) { _rwlock = RWLockFactory.Create(path); _rwlock.ReadLock(); }
public UseWriteLock(string path) { _rwlock = RWLockFactory.Create(path); _rwlock.WriteLock(); }