On 3/5/08, Andrew Haley <[EMAIL PROTECTED]> wrote: > The proposed memory model partly described at > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2338.html > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2492.html > http://open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2176.html > shows the way the C++ committee is moving. This involves explicit > atomic operations.
The C++0x standard has formally incorporated the new memory model and atomic operations into the current working draft for the standard: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2008/n2521.pdf As this standard has not been approved, it may change, but significant changes are unlikely. I think gcc would be better served by implementing the standard than by trying to define a different model, both because getting such models right is hard and because multiple models make life hard for the programmers that must code to multiple platforms. -- Lawrence Crowl