Joseph S. Myers wrote:
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.

Im not actually doing the implementation of Atomics themselves right now, Lawrence is looking at that. Im focusing on the GCC optimization requirements, changes and testing. I'll leave issues like you point out there to the guys like like that stuff :-)

I couldn't understand a lot of the atomic synchronization stuff from existing documentation, so I figured that part might help others understand it better too. It still gives me a headache.

Andrew


Reply via email to