[concurrency-interest] Sleep time consistency compared to System.currentTimeMillis
notcarl at google.com
Mon Aug 27 13:23:45 EDT 2018
That's good to hear it was a bug. I had asked about in on Stack Overflow*
a while ago, and no one seemed to recognize it should be fixed.
On Mon, Aug 27, 2018 at 7:06 AM Martin Buchholz via Concurrency-interest <
concurrency-interest at cs.oswego.edu> wrote:
> Thread.jjoin(long) should be fixed to use nanoTime instead of
> 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).
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest