equal
deleted
inserted
replaced
322 * } finally { |
322 * } finally { |
323 * lock.unlock(); |
323 * lock.unlock(); |
324 * } |
324 * } |
325 * }}</pre> |
325 * }}</pre> |
326 * |
326 * |
327 * <p> Design note: This method requires a nanosecond argument so |
327 * <p>Design note: This method requires a nanosecond argument so |
328 * as to avoid truncation errors in reporting remaining times. |
328 * as to avoid truncation errors in reporting remaining times. |
329 * Such precision loss would make it difficult for programmers to |
329 * Such precision loss would make it difficult for programmers to |
330 * ensure that total waiting times are not systematically shorter |
330 * ensure that total waiting times are not systematically shorter |
331 * than specified when re-waits occur. |
331 * than specified when re-waits occur. |
332 * |
332 * |