Searched refs:controller2 (Results 1 – 3 of 3) sorted by relevance
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