[concurrency-interest] On the specification of park()

Jason Tedor jason at tedor.me
Sat Sep 24 12:02:24 EDT 2016


I think this is due to the notion of spurious wakeups (
https://en.wikipedia.org/wiki/Spurious_wakeup).

On Sat, Sep 24, 2016 at 11:51 AM Andrew Haley <aph at redhat.com> wrote:

> The spec says
>
> > The park method may also return at any other time, for "no reason",
>
> Looking at the OpenJDK implementation, I don't think it will do that.
> What is the reason park() is specified this way?
>
> Andrew.
>
>
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20160924/456f4617/attachment.html>


More information about the Concurrency-interest mailing list