Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Static assertions are described in detail in DCL03-C. Use a static assertion to test the value of a constant expression.

Compliant

...

Solution (C11)

In this compliant code examplesolution, two threads simultaneously modify two distinct members of a structure:

...