Lines Matching defs:lockA
42 private static final Object lockA = new Object();
176 // #2 - Notify that examiner about to enter lockA
179 synchronized (lockA) {
183 // #3 - notify the examiner about to release lockA
186 lockA.wait();
242 synchronized (lockA) {
246 // #2 - Wait until BlockedThread is about to block on lockA
255 "BlockedThread - should be blocked on lockA.");
266 // #3 - release lockA and let BlockedThread to get the lock
267 // and wait on lockA
271 synchronized (lockA) {
274 "BlockedThread - should be waiting on lockA.");
280 lockA.notify();