Just FYI, small spelling mistake here: "read_atomially" should be "read_atomically".