Query regarding atomic builtins

Prasad Joshi prasadjoshi124@gmail.com
Thu Jan 10 18:38:00 GMT 2013


Hello All,

I recently joined this mailing list and I was particularly interested
in knowing how the atomic built-ins
(http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Atomic-Builtins.html) are
implemented in gcc.

I skimmed through the source code (mostly libgcc/sync.c file), however
it looks like it is hidden behind some macros. It would be good if
someone could help me find the source code. Also it would be of great
help if someone could also point me to link which contains description
of how the synchronization builtins are implemented in GCC.

Thanks and Regards,
Prasad



More information about the Gcc mailing list