Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added a definition of critical sections (copied from the CERT C Coding Standard).

...

Anchor
conforming program
conforming program

conforming [ISO/IEC 9899-1999]
Conforming programs may depend upon nonportable features of a conforming implementation.

Anchor
criticalsections
criticalsections

critical sections

Code that accesses shared data, and that would otherwise be protected from data races.

Anchor
data race
data race

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.

...