- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for CheckedRunnable (0.33 seconds)
-
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* * <ol> * <li>All assertions in code running in generated threads must use the forms {@link * #threadUnexpectedException} or {@link #threadRecordFailure} (which is called by {@link * CheckedRunnable} and {@link CheckedCallable}). * <li>If you override {@link #tearDown}, make sure to invoke {@code super.tearDown} within it. * This method is used to clear and check for thread assertion failures.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* * <ol> * <li>All assertions in code running in generated threads must use the forms {@link * #threadUnexpectedException} or {@link #threadRecordFailure} (which is called by {@link * CheckedRunnable} and {@link CheckedCallable}). * <li>If you override {@link #tearDown}, make sure to invoke {@code super.tearDown} within it. * This method is used to clear and check for thread assertion failures.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
public void testCompareAndSetInMultipleThreads() throws Exception { AtomicDouble at = new AtomicDouble(1.0); Thread t = newStartedThread( new CheckedRunnable() { @Override @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races public void realRun() { while (!at.compareAndSet(2.0, 3.0)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 7.3K bytes - Click Count (0)