Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for isHeldByCurrentThread (0.11 seconds)

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

        if (guard.monitor != this) {
          throw new IllegalMonitorStateException();
        }
        ReentrantLock lock = this.lock;
        boolean signalBeforeWaiting = lock.isHeldByCurrentThread();
        lock.lockInterruptibly();
    
        boolean satisfied = false;
        try {
          if (!guard.isSatisfied()) {
            await(guard, signalBeforeWaiting);
          }
          satisfied = true;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        @Override
        public LockGraphNode getLockGraphNode() {
          return lockGraphNode;
        }
    
        @Override
        public boolean isAcquiredByCurrentThread() {
          return isHeldByCurrentThread();
        }
    
        ///// Overridden ReentrantLock methods. /////
    
        @Override
        public void lock() {
          aboutToAcquire(this);
          try {
            super.lock();
          } finally {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

                  return true;
                }
                return false;
              }
            }
    
            return false;
          } finally {
            unlock();
            if (!isHeldByCurrentThread()) { // don't clean up inside of put
              postWriteCleanup();
            }
          }
        }
    
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

                  return true;
                }
                return false;
              }
            }
    
            return false;
          } finally {
            unlock();
            if (!isHeldByCurrentThread()) { // don't clean up inside of put
              postWriteCleanup();
            }
          }
        }
    
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
Back to Top