Searched refs:MyThread (Results 1 – 5 of 5) sorted by relevance
108 public static final class MyThread extends Thread { class in Test1995109 public MyThread(CountDownLatch delay, int id) { in MyThread() method in Test1995.MyThread146 public static MyThread[] startThreads(int num_threads) throws Exception { in startThreads()148 MyThread[] res = new MyThread[num_threads]; in startThreads()150 res[i] = new MyThread(cdl, i); in startThreads()156 public static void finishThreads(MyThread[] thrs) throws Exception { in finishThreads()157 for (MyThread t : thrs) { in finishThreads()160 for (MyThread t : thrs) { in finishThreads()166 MyThread[] threads = startThreads(NUM_THREADS); in doTest()
168 public static final class MyThread extends Thread { class in Test2001169 public MyThread(CountDownLatch delay, int id) { in MyThread() method in Test2001.MyThread208 public static MyThread[] startThreads(int num_threads) throws Exception { in startThreads()210 MyThread[] res = new MyThread[num_threads]; in startThreads()212 res[i] = new MyThread(cdl, i); in startThreads()219 public static void finishThreads(MyThread[] thrs) throws Exception { in finishThreads()220 for (MyThread t : thrs) { in finishThreads()223 for (MyThread t : thrs) { in finishThreads()229 MyThread[] threads = startThreads(NUM_THREADS); in doTest()
107 public static final class MyThread extends Thread { class in Test2005108 public MyThread(CountDownLatch delay, int id) { in MyThread() method in Test2005.MyThread147 public static MyThread[] startThreads(int num_threads) throws Exception { in startThreads()149 MyThread[] res = new MyThread[num_threads]; in startThreads()151 res[i] = new MyThread(cdl, i); in startThreads()157 public static void finishThreads(MyThread[] thrs) throws Exception { in finishThreads()158 for (MyThread t : thrs) { in finishThreads()161 for (MyThread t : thrs) { in finishThreads()203 MyThread[] threads = startThreads(NUM_THREADS); in doTest()
26 static class MyThread extends Thread { class in Main55 MyThread t1 = new MyThread(); in main()
416 # Method join() is declared in the superclass of MyThread. As such, it should