- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DoNothingRunnable (0.09 sec)
-
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
} private static final class DoNothingRunnable implements Runnable { @Override public void run() {} } // The thread executing the task publishes itself to the superclass' reference and the thread // interrupting sets DONE when it has finished interrupting. private static final Runnable DONE = new DoNothingRunnable(); private static final Runnable PARKED = new DoNothingRunnable();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ExecutorService executor = newDirectExecutorService(); CyclicBarrier barrier = new CyclicBarrier(2); AtomicReference<Throwable> throwableFromOtherThread = new AtomicReference<>(null); Runnable doNothingRunnable = new Runnable() { @Override public void run() {} }; Thread otherThread = new Thread( new Runnable() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0)