Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareAndSwapInt (0.06 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

        return UNSAFE.compareAndSwapLong(this, BASE_OFFSET, cmp, val);
      }
    
      /** CASes the busy field from 0 to 1 to acquire lock. */
      final boolean casBusy() {
        return UNSAFE.compareAndSwapInt(this, BUSY_OFFSET, 0, 1);
      }
    
      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top