Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BlockFn (0.31 sec)

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

     * applications, cycles can arise from interactions among more than 2 locks:
     *
     * <pre>
     * Thread1: acquire(LockA) --X acquire(LockB)
     * Thread2: acquire(LockB) --X acquire(LockC)
     * ...
     * ThreadN: acquire(LockN) --X acquire(LockA)
     * </pre>
     *
     * <p>The implementation detects cycles by constructing a directed graph in which each lock
     * represents a node and each edge represents an acquisition ordering between two locks.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
Back to top