Page 1 of 1

race conditions vs. data races

Posted: Wed Sep 05, 2018 1:47 pm
by sfsiegel
Sec. 2.20.7, p233, lines 20-21:
"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