C++ Memory Model: Issues



Click here to start the Slideshow





Created on Wednesday 13 April 2005 by Hans-J. Boehm

Table of Contents
  1. Memory Model for Multithreaded C++
  2. Motivation
  3. Background
  4. Kinds of failures
  5. Example 1
  6. Example 1, contd.
  7. Example 2
  8. Example 3
  9. The solution
  10. The Java solution
  11. Currently preferred solution
  12. Some consequences
  13. Example 4: Wrong, but common
  14. Secondary issue: volatile
  15. Volatile, contd.
  16. Secondary issue: Function scope statics
  17. Other issues