Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
programming, particularly in the C, C++, and C# programming languages, a
variable or object declared with the volatile keyword may be modified
externally from the declaring object. Variables declared to be volatile
will not be optimized by the compiler because the compiler must assume
that their values can change at any time. Volatile variables in C and
C++ on most systems are generally not a useful threading construct (for
example, they need not be atomic), according to the relevant standards
and actual fact of current compiler implementations.