Searched refs:NUM_THREADS (Results 1 – 8 of 8) sorted by relevance
27 public static final int NUM_THREADS = 3; field in Test1971103 final String[] results = new String[NUM_THREADS]; in run()104 final Thread[] targets = new Thread[NUM_THREADS]; in run()106 final CountDownLatch startup = new CountDownLatch(NUM_THREADS); in run()107 for (int i = 0; i < NUM_THREADS; i++) { in run()146 final CountDownLatch force_return_start = new CountDownLatch(NUM_THREADS); in run()148 Thread[] returners = new Thread[NUM_THREADS]; in run()149 for (int i = 0; i < NUM_THREADS; i++) { in run()171 for (int i = 0; i < NUM_THREADS; i++) { in run()177 for (int i = 0; i < NUM_THREADS; i++) { in run()
29 static final int NUM_THREADS = 5; field in Main61 Thread[] t = new Thread[NUM_THREADS]; in main()63 for (int i = 0; i < NUM_THREADS; ++i) { in main()72 for (int i = 0; i < NUM_THREADS; ++i) { in main()
26 public static final int NUM_THREADS = 10; field in Main106 TestWatcher[] watchers = new TestWatcher[NUM_THREADS]; in doTest()107 for (int i = 0; i < NUM_THREADS; i++) { in doTest()118 final CountDownLatch arrive = new CountDownLatch(NUM_THREADS); in doTest()131 Thread[] threads = new Thread[NUM_THREADS]; in doTest()132 for (int i = 0; i < NUM_THREADS; i++) { in doTest()
26 public static final int NUM_THREADS = 10; field in Main108 TestWatcher[] watchers = new TestWatcher[NUM_THREADS]; in doTest()109 for (int i = 0; i < NUM_THREADS; i++) { in doTest()120 final CountDownLatch arrive = new CountDownLatch(NUM_THREADS); in doTest()133 Thread[] threads = new Thread[NUM_THREADS]; in doTest()134 for (int i = 0; i < NUM_THREADS; i++) { in doTest()
41 final int NUM_THREADS = 2; in doTest() local45 final CountDownLatch threadStartLatch = new CountDownLatch(NUM_THREADS); in doTest()
24 private static final int NUM_THREADS = 20; field in Test1995169 MyThread[] threads = startThreads(NUM_THREADS); in doTest()
27 private static final int NUM_THREADS = 20; field in Test2001229 MyThread[] threads = startThreads(NUM_THREADS); in doTest()
23 private static final int NUM_THREADS = 20; field in Test2005203 MyThread[] threads = startThreads(NUM_THREADS); in doTest()