Re: JavaMemoryModel: acquire & releases on volatile variables

From: Paul Haahr (haahr@jivetech.com)
Date: Tue Oct 26 1999 - 17:58:42 EDT


Bill Pugh wrote
> I propose changing the semantics so that before writing to a volatile
> variable, you must flush all writes from registers and cache (a
> "release") and after reading a volatile variable, you must update
> registers and cache (an "acquire").

Just to clarify, you mean a release must ``flush all writes from
registers and cache'' to all variables (and similar for reads), right?

--p



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