Lines Matching refs:Thread
109 private class Interrupter extends Thread {
132 Thread.currentThread().sleep(500);
173 private class Waiter extends Thread {
198 throw new RuntimeException("Thread not interrupted " +
218 throw new RuntimeException("Thread not interrupted " +
238 throw new RuntimeException("Thread not interrupted " +
258 throw new RuntimeException("Thread not interrupted " +
268 private static Thread testThread;
274 testThread = Thread.currentThread();
304 String threadName = Thread.currentThread().getName();
316 private class Worker extends Thread {
360 Thread.currentThread().sleep(1000);
382 private static class CompareAndExchange extends Thread {
417 class Worker extends Thread {