new macros and GCC built-in atomic functions