Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for WaitNotInLoop (0.06 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        repeatedlyInterruptTestThread(tearDownStack);
        latch.awaitUnsuccessfully(70);
        assertInterrupted();
      }
    
      // Condition.await() tests
    
      /*
       * RE: the WaitNotInLoop warnings:
       *
       * Our tests for awaitUninterruptibly are written under the assumption that no spurious wakeups
       * occur except for those produced by awaitUninterruptibly itself in response to interrupts.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        repeatedlyInterruptTestThread(tearDownStack);
        latch.awaitUnsuccessfully(70);
        assertInterrupted();
      }
    
      // Condition.await() tests
    
      /*
       * RE: the WaitNotInLoop warnings:
       *
       * Our tests for awaitUninterruptibly are written under the assumption that no spurious wakeups
       * occur except for those produced by awaitUninterruptibly itself in response to interrupts.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ForwardingCondition.java

    import java.util.Date;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.Condition;
    
    /** Forwarding wrapper around a {@code Condition}. */
    @SuppressWarnings("WaitNotInLoop") // We are just delegating; _our user_ must loop.
    @J2ktIncompatible
    @GwtIncompatible
    abstract class ForwardingCondition implements Condition {
      abstract Condition delegate();
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 24 18:55:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       * wakeup</a>. This means that resulting wait is not "uninterruptible" in the normal sense of
       * {@link Uninterruptibles}. Still, this method allows callers to write <a
       * href="https://errorprone.info/bugpattern/WaitNotInLoop">the standard, required loop for waiting on a {@code
       * Condition}</a> but without the need to handle interruption.
       *
       * @return {@code false} if the waiting time detectably elapsed before return from the method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
Back to Top