Searched refs:Counter (Results 1 – 7 of 7) 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
305 class Counter extends CheckedRunnable { class in AtomicIntegerArrayTest308 Counter(AtomicIntegerArray a) { aa = a; } in Counter() method in AtomicIntegerArrayTest.Counter336 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()337 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
304 class Counter extends CheckedRunnable { class in AtomicLongArrayTest307 Counter(AtomicLongArray a) { aa = a; } in Counter() method in AtomicLongArrayTest.Counter335 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()336 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
250 class Counter extends CheckedRunnable { class in FutureTaskTest