Tuesday 25 September 2018

c++ - What is a good explanation for the C++11 memory model?

Specifically, I'm looking for a plain-English explanation of phrases like "no operation can be ordered before a load" or "no operation can be ordered after a write", etc. What exactly is an operation, and what does it mean for it to get "re-ordered"?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...