atom_xchg -> atomicSwap