Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTryAwaitTerminationUninterruptiblyDuration_success (0.17 sec)

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

        repeatedlyInterruptTestThread(20, tearDownStack);
        semaphore.tryAcquireUnsuccessfully(10, 70);
        assertInterrupted();
      }
    
      // executor.awaitTermination Testcases
      public void testTryAwaitTerminationUninterruptiblyDuration_success() {
        ExecutorService executor = newFixedThreadPool(1);
        requestInterruptIn(500);
        executor.execute(new SleepTask(1000));
        executor.shutdown();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top