Re: JavaMemoryModel: Guaranteed semantics for Thread.yield()

From: Joshua Bloch (
Date: Wed Jan 02 2002 - 00:00:39 EST

    I have yet to see a set of semantics for yield that provide the desired
guarantees without unduly restricting implementations. This has the feel of
(another) research problem to me. Furthermore, I don't want to encourage
people to use Thread.yield. Finally, I agree with David that this topic may
fall outside the scope of JSR-133.


JavaMemoryModel mailing list -

This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:36 EDT