Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSetFutureCancelBash_withDoneFuture (0.22 sec)

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

          finalResults.clear();
        }
        executor.shutdown();
      }
    
      // Test to ensure that when calling setFuture with a done future only setFuture or cancel can
      // return true.
      public void testSetFutureCancelBash_withDoneFuture() {
        final CyclicBarrier barrier =
            new CyclicBarrier(
                2 // for the setter threads
                    + 1 // for the blocking get thread,
                    + 1); // for the main thread
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top