race conditions vs. data races

OpenMP 5.0 will be the next version of the OpenMP specification, which we expect will be officially released in 2018. This technical report is the latest draft of the 5.0 specs for public discussion.

race conditions vs. data races

Postby sfsiegel » Wed Sep 05, 2018 1:47 pm

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
sfsiegel
 
Posts: 9
Joined: Mon Mar 24, 2014 4:47 pm

Return to TR7 - OpenMP 5.0 Draft Discussion

Who is online

Users browsing this forum: No registered users and 1 guest