The memory model is perhaps one of the most valuable but misunderstood changes in c++11. For the first time, c++ programmers have a language contract with the runtime about how their code will be executed in the face of hardware optimizations, memory hierarchies and multiple threads of execution.
This talk introduces the key concepts in the memory model, and show how these concepts apply to the new atomic primitives in c++11.
Image may be NSFW.
Clik here to view.

Clik here to view.
