Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enterWhenUninterruptibly (0.2 sec)

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

          }
        }
    
        void addListener(Listener listener, Executor executor) {
          listeners.addListener(listener, executor);
        }
    
        void awaitHealthy() {
          monitor.enterWhenUninterruptibly(awaitHealthGuard);
          try {
            checkHealthy();
          } finally {
            monitor.leave();
          }
        }
    
        void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

              }
            } finally {
              lock.unlock();
            }
          }
        }
      }
    
      /** Enters this monitor when the guard is satisfied. Blocks indefinitely. */
      public void enterWhenUninterruptibly(Guard guard) {
        if (guard.monitor != this) {
          throw new IllegalMonitorStateException();
        }
        final ReentrantLock lock = this.lock;
        boolean signalBeforeWaiting = lock.isHeldByCurrentThread();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
Back to top