Searched refs:NUM_THREADS (Results 1 – 3 of 3) sorted by relevance
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()
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()
41 final int NUM_THREADS = 2; in doTest() local45 final CountDownLatch threadStartLatch = new CountDownLatch(NUM_THREADS); in doTest()