Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for newReentrantReadWriteLock (0.45 seconds)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            ? new ReentrantLock(fair)
            : new CycleDetectingReentrantLock(new LockGraphNode(lockName), fair);
      }
    
      /** Equivalent to {@code newReentrantReadWriteLock(lockName, false)}. */
      public ReentrantReadWriteLock newReentrantReadWriteLock(String lockName) {
        return newReentrantReadWriteLock(lockName, false);
      }
    
      /**
       * Creates a {@link ReentrantReadWriteLock} with the given fairness policy. The {@code lockName}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        lockC = factory.newReentrantLock("LockC");
        ReentrantReadWriteLock readWriteLockA = factory.newReentrantReadWriteLock("ReadWriteA");
        ReentrantReadWriteLock readWriteLockB = factory.newReentrantReadWriteLock("ReadWriteB");
        ReentrantReadWriteLock readWriteLockC = factory.newReentrantReadWriteLock("ReadWriteC");
        readLockA = readWriteLockA.readLock();
        readLockB = readWriteLockB.readLock();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        lockC = factory.newReentrantLock("LockC");
        ReentrantReadWriteLock readWriteLockA = factory.newReentrantReadWriteLock("ReadWriteA");
        ReentrantReadWriteLock readWriteLockB = factory.newReentrantReadWriteLock("ReadWriteB");
        ReentrantReadWriteLock readWriteLockC = factory.newReentrantReadWriteLock("ReadWriteC");
        readLockA = readWriteLockA.readLock();
        readLockB = readWriteLockB.readLock();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
Back to Top