Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getHoldCount (0.44 sec)

  1. guava/src/com/google/common/util/concurrent/Monitor.java

      public void leave() {
        ReentrantLock lock = this.lock;
        try {
          // No need to signal if we will still be holding the lock when we return
          if (lock.getHoldCount() == 1) {
            signalNextWaiter();
          }
        } finally {
          lock.unlock(); // Will throw IllegalMonitorStateException if not held
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
Back to top