- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCountingInMultipleThreads (0.14 sec)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} } } } /** * Multiple threads using same array of counters successfully update a number of times equal to * total count */ public void testCountingInMultipleThreads() throws InterruptedException { final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i = 0; i < SIZE; i++) { aa.set(i, (double) COUNTDOWN); } Counter c1 = new Counter(aa);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 14.6K bytes - Viewed (0)