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

Method waitForUninterruptibly

output/java_guava/1.4.19/Monitor.java:771–778  ·  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

769
770
771 public void waitForUninterruptibly(Guard guard) {
772 if (! ((guard.monitor == this) & lock.isHeldByCurrentThread())) {
773 throw new IllegalMonitorStateException();
774 }
775 if (!guard.isSatisfied()) {
776 awaitUninterruptibly(guard, true);
777 }
778 }
779
780 /**
781 * 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