News for hackers. Stuff that matters.
Re:Nine ways to break your systems code using volatile by gpderetta on Friday October 06, 2023 @08:00AM (#37789552)
Some optimizations are allowed within the rules of the memory model. For example, for an atomic x:

   x=1
   x=2
Can be changed to just x=2. Still forward progress and eventual visibility must be guaranteed.

There are no comments on this comment yet.