clobber_memory
clobber_memory()
Forces all pending memory writes to be flushed to memory.
This ensures that the compiler does not optimize away memory writes if it deems them to be not necessary. In effect, this operation acts as a barrier to memory reads and writes.