Beispiel #1
0
 public UpgradeableReadLock(RWLock rwlock_) : base(rwlock_)
 {
     if (rwlock != null)
     {
         rwlock.doEnterUpgradeableReadLock();
     }
 }
Beispiel #2
0
 public ReadLock(RWLock rwlock_) : base(rwlock_)
 {
     if (rwlock != null)
     {
         rwlock.doEnterReadLock();
     }
 }
Beispiel #3
0
 public WriteLock(RWLock rwlock_) : base(rwlock_)
 {
     if (rwlock != null)
     {
         rwlock.doEnterWriteLock();
     }
 }
Beispiel #4
0
 public LockHandle(RWLock rwlock_)
 {
     rwlock = rwlock_;
 }