Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareAndSetState (0.08 sec)

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

           * @param finalState the state to transition to.
           */
          private boolean complete(@Nullable V v, @Nullable Throwable t, int finalState) {
            boolean doCompletion = compareAndSetState(RUNNING, COMPLETING);
            if (doCompletion) {
              // If this thread successfully transitioned to COMPLETING, set the value
              // and exception and then release to the final state.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top