Lines Matching refs:BlockingThread
53 private static BlockingThread blocking;
60 // Create the BlockingThread before BlockedThread
61 // to make sure BlockingThread enter the lock before BlockedThread
64 blocking = new BlockingThread();
96 // wait until BlockingThread holds blockedObj1
107 // signal BlockingThread.
111 // blockedObj1 should be owned by BlockingThread
117 // signal BlockingThread.
122 // wait until BlockingThread holds blockedObj2
133 // signal BlockingThread.
137 // blockedObj2 should be owned by BlockingThread
143 // signal BlockingThread.
148 // wait until BlockingThread holds blockedObj3
159 // signal BlockingThread.
163 // blockedObj3 should be owned by BlockingThread
181 } // BlockingThread
183 static class BlockingThread extends Thread {
209 System.out.println("BlockingThread attempts to notify a");
219 System.out.println("BlockingThread attempts to notify b");
229 System.out.println("BlockingThread attempts to notify c");