Searched refs:Counter (Results 1 – 4 of 4) sorted by relevance
272 Counter [] countersNotYeld = new Counter[10]; in test_yield()275 countersNotYeld[i] = new Counter(false); in test_yield()277 Counter countersYeld = new Counter(true); in test_yield()282 for(Counter c:countersNotYeld) { in test_yield()287 class Counter extends Thread { class in OldThreadTest291 public Counter(boolean isDoYield) { in Counter() method in OldThreadTest.Counter
282 class Counter extends CheckedRunnable { class in AtomicIntegerArrayTest285 Counter(AtomicIntegerArray a) { aa = a; } in Counter() method in AtomicIntegerArrayTest.Counter313 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()314 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
281 class Counter extends CheckedRunnable { class in AtomicLongArrayTest284 Counter(AtomicLongArray a) { aa = a; } in Counter() method in AtomicLongArrayTest.Counter312 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()313 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
227 class Counter extends CheckedRunnable { class in FutureTaskTest