Exemple #1
0
 public CheckedMonitorUnlocker(CheckedMonitor/*!*/ monitor)
 {
     _monitor = monitor;
     _lockTaken = true;
     monitor.Exit(ref _lockTaken);
 }
 public CheckedMonitorUnlocker(CheckedMonitor /*!*/ monitor)
 {
     _monitor   = monitor;
     _lockTaken = true;
     monitor.Exit(ref _lockTaken);
 }
Exemple #3
0
 public CheckedMonitorLocker(CheckedMonitor/*!*/ monitor)
 {
     _monitor = monitor;
     _lockTaken = false;
     monitor.Enter(ref _lockTaken);
 }
 public CheckedMonitorLocker(CheckedMonitor /*!*/ monitor)
 {
     _monitor   = monitor;
     _lockTaken = false;
     monitor.Enter(ref _lockTaken);
 }