MCPcopy Create free account
hub / github.com/ReadyTalk/avian / timedJoin

Method timedJoin

classpath/java/util/concurrent/TimeUnit.java:401–407  ·  view source on GitHub ↗
(Thread thread, long timeout)

Source from the content-addressed store, hash-verified

399 }
400
401 public void timedJoin(Thread thread, long timeout) throws InterruptedException {
402 if (timeout > 0) {
403 long ms = toMillis(timeout);
404 int ns = excessNanos(timeout, ms);
405 thread.join(ms, ns);
406 }
407 }
408
409 public void sleep(long timeout) throws InterruptedException {
410 if (timeout > 0) {

Callers

nothing calls this directly

Calls 3

toMillisMethod · 0.95
excessNanosMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected