Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CSharp.Locking.ReentrantLock"/> class.
 /// </summary>
 public ReentrantLock()
 {
     _ids       = new ConditionIds("REL", 1);
     _monitor   = new LockMonitor();
     _lockCount = 0;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CSharp.Locking.ReentrantLock"/> class.
 /// </summary>
 public ReentrantLock() {
     _ids = new ConditionIds("REL", 1);
     _monitor = new LockMonitor();
     _lockCount = 0;
 }