...
Code that accesses shared data, and that would otherwise be protected from data races.
Anchor | ||||
---|---|---|---|---|
|
cv-qualify
A type that is qualified by either const
or volatile
.
Anchor | ||||
---|---|---|---|---|
|
data race [ISO/IEC N3000]
The execution of a program contains a data race if it contains two conflicting actions in different threads, at least one of which is not atomic, and neither happens before the other. Any such data race results in undefined behavior.
...