MCPcopy Create free account
hub / github.com/antlr/codebuff / waitForUninterruptibly

Method waitForUninterruptibly

output/java_guava/1.4.16/Monitor.java:773–780  ·  view source on GitHub ↗

Waits for the guard to be satisfied. Waits indefinitely. May be called only by a thread currently occupying this monitor.

(Guard guard)

Source from the content-addressed store, hash-verified

771
772
773 public void waitForUninterruptibly(Guard guard) {
774 if (! ((guard.monitor == this) & lock.isHeldByCurrentThread())) {
775 throw new IllegalMonitorStateException();
776 }
777 if (!guard.isSatisfied()) {
778 awaitUninterruptibly(guard, true);
779 }
780 }
781
782 /**
783 * Waits for the guard to be satisfied. Waits at most the given time, and may be interrupted. May

Callers 2

awaitHealthyMethod · 0.45
awaitStoppedMethod · 0.45

Calls 6

awaitUninterruptiblyMethod · 0.95
toSafeNanosMethod · 0.95
initNanoTimeMethod · 0.95
awaitNanosMethod · 0.95
remainingNanosMethod · 0.95
isSatisfiedMethod · 0.45

Tested by

no test coverage detected