- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CheckedRunnable (0.14 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
public void testCompareAndSetInMultipleThreads() throws Exception { final AtomicDouble at = new AtomicDouble(1.0); Thread t = newStartedThread( new CheckedRunnable() { @Override public void realRun() { while (!at.compareAndSet(2.0, 3.0)) { Thread.yield(); } } });
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 6.9K bytes - Viewed (0)