Re:Why volatile is hard to specify and implement
by rdtsc on Monday April 11, 2016 @04:09PM
(#11474695)
So you think wrapping every single access to that shared memory structure in barriers would do the trick? I should dig out that code and try, I am curious now. But that would be kind of an large change. Now the volatile modifier is in one place only -- where data is defined not when it is accessed.
[ Parent
| on HN ]