This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Question on GCC 4.8 atomics
- From: Bjorn Lindgren <nr at c64 dot org>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 5 Apr 2013 13:39:44 +0200 (CEST)
- Subject: Question on GCC 4.8 atomics
Hello,
I would like to know if the built-in __atomic_* function calls are always
garanteed to succeed? If for example multiple threads on different
sockets/cores call the __atomic function on a globaly shared variable at
same time, are the calls then queued and executed?
Regards,
Björn