Removing the use of atomicExch since the writes are guaranteed to be to different mem locations