Ongoing Optimization with CppMem
Table of Contents
1. Overview
TODO: write introduction for “Ongoing Optimization with CppMem”.
2. Details
TODO: expand this section.
Table of contents
- Context of Ongoing Optimization
- Introduction to CppMem
- Non-Atomic Variables
- Locks
- Sequential Consistency
- Acquire-Release Semantic
- Acquire-Release Semantic with a Data Race
- Relaxed Semantic
- volatile
- Singleton
- Thread-Safe Initialization of a Singleton
- Calculating the Sum of a std::vector
- Single-Threaded
- Multithreaded with Shared Variables
- Multithreaded with Minimal Synchronization
- My Conclusion