(Object obj, long timeout)
| 391 | abstract int excessNanos(long d, long m); |
| 392 | |
| 393 | public void timedWait(Object obj, long timeout) throws InterruptedException { |
| 394 | if (timeout > 0) { |
| 395 | long ms = toMillis(timeout); |
| 396 | int ns = excessNanos(timeout, ms); |
| 397 | obj.wait(ms, ns); |
| 398 | } |
| 399 | } |
| 400 | |
| 401 | public void timedJoin(Thread thread, long timeout) throws InterruptedException { |
| 402 | if (timeout > 0) { |
nothing calls this directly
no test coverage detected