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

Method awaitUninterruptibly

output/java_guava/1.4.17/Monitor.java:1145–1158  ·  view source on GitHub ↗
(Guard guard, boolean signalBeforeWaiting)

Source from the content-addressed store, hash-verified

1143 }
1144
1145 @GuardedBy("lock")
1146 private void awaitUninterruptibly(Guard guard, boolean signalBeforeWaiting) {
1147 if (signalBeforeWaiting) {
1148 signalNextWaiter();
1149 }
1150 beginWaitingFor(guard);
1151 try {
1152 do {
1153 guard.condition.awaitUninterruptibly();
1154 } while (!guard.isSatisfied());
1155 } finally {
1156 endWaitingFor(guard);
1157 }
1158 }
1159
1160 /**
1161 * Caller should check before calling that guard is not satisfied.

Callers 2

Calls 4

signalNextWaiterMethod · 0.95
beginWaitingForMethod · 0.95
endWaitingForMethod · 0.95
isSatisfiedMethod · 0.45

Tested by

no test coverage detected