Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Memory ordering
is a group of properties of the modern microprocessors, characterising
their possibilities in memory operations reordering. It is a type of
out-of-order execution. Memory reordering can be used to fully utilize
different cache and memory banks. On most modern uniprocessors memory
operations are not executed in the order specified by the program code.
But in singlethreaded programs from the programmer's point of view, all
operations appear to have been executed in the order specified, with all
inconsistencies hidden by hardware.