示例#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;
 }
示例#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;
 }