Versions Compared

Key

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

...

Declaring a shared variable as volatile guarantees thread-safety safe accesses only when both of the following conditions are met:

...