Continue reading "Improve volatile Usage with volatile_load() and volatile_store()"
Improve volatile Usage with volatile_load() and volatile_store()
A C++ proposal for deprecating the volatile keyword has surfaced. This may surprise our readers, because as Michael Caisse said, "volatile is the embedded keyword." The original intent of the volatile keyword in C89 is to suppress read/write optimizations: No cacheing through this lvalue: each operation in the abstract semantics must be performed (that is, …