C++0x Memory model and gcc
Joseph S. Myers
joseph@codesourcery.com
Thu May 6 15:54:00 GMT 2010
On Thu, 6 May 2010, Andrew MacLeod wrote:
> - Implementation of atomic variables and synchronization modes
> as well as a new infrastructure to test these types of things.
I presume you've read the long thread starting at
<http://gcc.gnu.org/ml/gcc/2009-08/msg00199.html> regarding the issues
involved in implementing the atomics (involving compiler and libc
cooperation to provide stdatomic.h), and in particular ensuring that code
built for one CPU remains safe on later CPU variants that may have more
native atomic operations.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc
mailing list