Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ReadWriteA (0.05 sec)

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

        readLockA.unlock();
    
        lockB.lock();
        PotentialDeadlockException expected =
            assertThrows(PotentialDeadlockException.class, () -> readLockA.lock());
        checkMessage(expected, "LockB -> ReadWriteA", "ReadWriteA -> LockB");
      }
    
      public void testReadLock_transitive() {
        readLockA.lock(); // Establish an ordering from readLockA -> lockB.
        lockB.lock();
        lockB.unlock();
        readLockA.unlock();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        readLockA.unlock();
    
        lockB.lock();
        PotentialDeadlockException expected =
            assertThrows(PotentialDeadlockException.class, () -> readLockA.lock());
        checkMessage(expected, "LockB -> ReadWriteA", "ReadWriteA -> LockB");
      }
    
      public void testReadLock_transitive() {
        readLockA.lock(); // Establish an ordering from readLockA -> lockB.
        lockB.lock();
        lockB.unlock();
        readLockA.unlock();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       *
       * <pre>
       * com....PotentialDeadlockException: Potential Deadlock from LockC -&gt; ReadWriteA
       *   at ...
       *   at ...
       * Caused by: com...ExampleStackTrace: LockB -&gt; LockC
       *   at ...
       *   at ...
       * Caused by: com...ExampleStackTrace: ReadWriteA -&gt; LockB
       *   at ...
       *   at ...
       * </pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
Back to top