Re: JavaMemoryModel: Fairness Guarantees in the Memory Model?

From: Joshua Bloch (joshua.bloch@sun.com)
Date: Tue Oct 23 2001 - 12:34:21 EDT


Folks,

> Thread.yield() allows all other threads of equal or higher
>priority a chance to make progress.

   Sorry, I haven't been following the latest discussion in any detail, but it
might be worth adding a note. Around here, it has long been held that a legal,
if unhelpful, implementation of Thread.yield is a no-op.

                           Regards,

                           Josh

-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



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