Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DoNothingRunnable (0.3 sec)

  1. 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();
      // Why 1000?  WHY NOT!
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. 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();
      // Why 1000?  WHY NOT!
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        final CyclicBarrier barrier = new CyclicBarrier(2);
        final AtomicReference<Throwable> throwableFromOtherThread = new AtomicReference<>(null);
        final Runnable doNothingRunnable =
            new Runnable() {
              @Override
              public void run() {}
            };
    
        Thread otherThread =
            new Thread(
                new Runnable() {
                  @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        final CyclicBarrier barrier = new CyclicBarrier(2);
        final AtomicReference<Throwable> throwableFromOtherThread = new AtomicReference<>(null);
        final Runnable doNothingRunnable =
            new Runnable() {
              @Override
              public void run() {}
            };
    
        Thread otherThread =
            new Thread(
                new Runnable() {
                  @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
Back to top