[concurrency-interest] Sleep time consistency compared to System.currentTimeMillis

Martin Buchholz martinrb at google.com
Mon Aug 27 10:03:49 EDT 2018


Thread.jjoin(long) should be fixed to use nanoTime instead of
currentTimeMillis.

Thread.wait's spec should be fixed to remove the "more or less" (although
spurious wakeup remains possible).

Thread.sleep should be fixed to not wake up early due to rounding of nanos
(as Object.wait was fixed).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20180827/6a1d5aca/attachment.html>


More information about the Concurrency-interest mailing list