the atomic builtins available in gcc-4.4 and newer should be used instead of inline assembler if possible
the atomic builtins available in gcc-4.4 and newer should be used instead of inline assembler if possible