Searched refs:Counter (Results 1 – 4 of 4) sorted by relevance
271 Counter [] countersNotYeld = new Counter[10]; in test_yield()274 countersNotYeld[i] = new Counter(false); in test_yield()276 Counter countersYeld = new Counter(true); in test_yield()281 for(Counter c:countersNotYeld) { in test_yield()286 class Counter extends Thread { class in OldThreadTest290 public Counter(boolean isDoYield) { in Counter() method in OldThreadTest.Counter
272 class Counter extends CheckedRunnable { class in AtomicLongArrayTest275 Counter(AtomicLongArray a) { aa = a; } in Counter() method in AtomicLongArrayTest.Counter302 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()303 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
272 class Counter extends CheckedRunnable { class in AtomicIntegerArrayTest275 Counter(AtomicIntegerArray a) { aa = a; } in Counter() method in AtomicIntegerArrayTest.Counter302 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()303 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
209 class Counter extends CheckedRunnable { class in FutureTaskTest