Lines Matching refs:BlockedThread
73 BlockedThread blocked = new BlockedThread("BlockedThread");
88 // The Examiner should be waiting to be notified by the BlockedThread
147 static class BlockedThread extends Thread {
150 BlockedThread(String name) {
215 System.out.println("BlockedThread notified");
222 } // BlockedThread
225 private static BlockedThread blockedThread;
232 public void setThread(BlockedThread thread) {
261 "BlockedThread - should be blocked on lockB.");
281 // Wait until BlockedThread is about to block on lockA
289 "BlockedThread - should be blocked on lockA.");
300 // release lockA and let BlockedThread to get the lock
307 "BlockedThread - should be waiting on lockA.");
320 // give some time for BlockedThread to proceed