race conditions vs. data races
"To avoid race conditions, all accesses of the locations designated by x that could
potentially occur in parallel must be protected with an atomic construct."
I think "race conditions" should be "data races". They are two different things.
See for example https://blog.regehr.org/archives/490