Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newReentrantLock (0.53 sec)

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

        lock1 = factory2.newReentrantLock(MyOrder.FIRST);
        lock2 = factory2.newReentrantLock(MyOrder.SECOND);
        lock3 = factory2.newReentrantLock(MyOrder.THIRD);
    
        CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory3 =
            newInstanceWithExplicitOrdering(OtherOrder.class, Policies.THROW);
        lock01 = factory3.newReentrantLock(OtherOrder.FIRST);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        lock1 = factory2.newReentrantLock(MyOrder.FIRST);
        lock2 = factory2.newReentrantLock(MyOrder.SECOND);
        lock3 = factory2.newReentrantLock(MyOrder.THIRD);
    
        CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory3 =
            newInstanceWithExplicitOrdering(OtherOrder.class, Policies.THROW);
        lock01 = factory3.newReentrantLock(OtherOrder.FIRST);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      public static CycleDetectingLockFactory newInstance(Policy policy) {
        return new CycleDetectingLockFactory(policy);
      }
    
      /** Equivalent to {@code newReentrantLock(lockName, false)}. */
      public ReentrantLock newReentrantLock(String lockName) {
        return newReentrantLock(lockName, false);
      }
    
      /**
       * Creates a {@link ReentrantLock} with the given fairness policy. The {@code lockName} is used in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
Back to top