How to perform atomic operations on Linux that work on x86, arm, GCC and icc? How to perform atomic operations on Linux that work on x86, arm, GCC and icc? linux linux