MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / leaveFor

Method leaveFor

src/main/java/field/app/ThreadSync.java:165–169  ·  view source on GitHub ↗
(int n, Object o)

Source from the content-addressed store, hash-verified

163 }
164
165 static public void leaveFor(int n, Object o) throws InterruptedException, Stop {
166 for (int i = 0; i < n; i++) {
167 leave(o);
168 }
169 }
170
171 static public Object rejoin() throws InterruptedException, Stop {
172 if (fiber.get() == null)

Callers

nothing calls this directly

Calls 1

leaveMethod · 0.95

Tested by

no test coverage detected