Re:Why volatile is hard to specify and implement
by loeg on Monday April 11, 2016 @01:48PM
(#11473587)
You do need volatile (or equivalent) to instruct the compiler not to optimize away an access/write. Locked read/write intrinsics will already be annotated such that they don't get optimized.
[ Parent
| on HN ]
There are no comments on this comment yet.