- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CheckedRunnable (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
public void testCompareAndSetInMultipleThreads() throws InterruptedException { AtomicDoubleArray a = new AtomicDoubleArray(1); a.set(0, 1.0); Thread t = newStartedThread( new CheckedRunnable() { @Override @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races public void realRun() { while (!a.compareAndSet(0, 2.0, 3.0)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.6K bytes - Viewed (0)