Fixed setAtomicRead function signature