Searched refs:controller2 (Results 1 – 4 of 4) sorted by relevance
177 Monitors.LockController controller2 = new Monitors.LockController(lk); in testRecursiveMontiorEnteredLock() local192 controller2.DoLock(); in testRecursiveMontiorEnteredLock()193 controller2.waitForContendedSleep(); in testRecursiveMontiorEnteredLock()195 controller2.waitForLockToBeHeld(); in testRecursiveMontiorEnteredLock()196 controller2.DoUnlock(); in testRecursiveMontiorEnteredLock()201 final Monitors.LockController controller2 = new Monitors.LockController(lk); in testWaitedMonitorEnter() local207 while (controller2.IsLocked()) {} in testWaitedMonitorEnter()222 controller2.DoLock(); in testWaitedMonitorEnter()223 controller2.waitForLockToBeHeld(); in testWaitedMonitorEnter()224 controller2.DoNotifyAll(); in testWaitedMonitorEnter()[all …]
50 final Monitors.LockController controller2 = new Monitors.LockController(lk); in testNormalContendedMonitor() local53 controller2.DoLock(); in testNormalContendedMonitor()54 controller2.waitForContendedSleep(); in testNormalContendedMonitor()55 System.out.println("c2 is contending for monitor: " + controller2.getWorkerContendedMonitor()); in testNormalContendedMonitor()57 controller2.waitForLockToBeHeld(); in testNormalContendedMonitor()58 controller2.DoUnlock(); in testNormalContendedMonitor()
153 Monitors.LockController controller2 = new Monitors.LockController(lk); in testLock() local156 controller2.DoLock(); in testLock()157 if (controller2.IsLocked()) { in testLock()160 controller2.waitForContendedSleep(); in testLock()162 controller2.waitForLockToBeHeld(); in testLock()163 controller2.DoUnlock(); in testLock()168 Monitors.LockController controller2 = new Monitors.LockController(lk); in testWait() local173 controller2.DoLock(); in testWait()174 controller2.waitForLockToBeHeld(); in testWait()175 controller2.DoNotifyAll(); in testWait()[all …]
72 locking controller3 in controller2 MonitorWaited event