Пример #1
0
 public UseReadLock(string path)
 {
     _rwlock = RWLockFactory.Create(path);
     _rwlock.ReadLock();
 }
Пример #2
0
 public UseWriteLock(string path)
 {
     _rwlock = RWLockFactory.Create(path);
     _rwlock.WriteLock();
 }