Plange


ates that a variable's value may change unpredictably


volatile <Int> var;


Notes

The compiler nor CPU are allowed to make assumptions about value consistency or memory ordering semantics. As such, reordering optimizations and caching are disabled. All access to a volatile is surrounded by memory fences as available.

This website does not use cookies or javascript, excluding the Google search bar and Google analytics.
copyright © Brent Lewis 2013-2018