Пример #1
0
 public void TestMonitorWithReentrancy1()
 {
     this.Test(() =>
     {
         SignalData signal = new SignalData();
         signal.ReentrantLock();
     },
               this.GetConfiguration().WithTestingIterations(100));
 }
Пример #2
0
 public void TestSynchronizedBlockWithReentrancy1()
 {
     this.Test(() =>
     {
         SignalData signal = new SignalData();
         signal.ReentrantLock();
     },
               Configuration.Create().WithTestingIterations(100));
 }