This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]