Posts
![wrench 24261 640](https://www.modernescpp.com/wp-content/uploads/2018/05/wrench-24261_640.png)
C++ Core Guidelines: Use Tools to Validate your Concurrent Code
/
0 Comments
Today, I'm happy to write about the probably most important C++ Core Guidelines for concurrency rule:…
![sukzessiveOptimierungRelaxedSemantikEng](https://www.modernescpp.com/wp-content/uploads/2016/08/sukzessiveOptimierungRelaxedSemantikEng.png)
Ongoing Optimization: Relaxed Semantics with CppMem
With the relaxed semantics, we have no synchronizations and ordering constraints on atomic operations.
Relaxed…
![undefinedEng](https://www.modernescpp.com/wp-content/uploads/2016/08/undefinedEng.png)
Ongoing Optimization: A Data Race with CppMem
But we can improve and further improve the acquire-release semantics of the last post. Why should x be…
![sukzessiveOptimierungSequenzielleKonsistenzEng](https://www.modernescpp.com/wp-content/uploads/2016/08/sukzessiveOptimierungSequenzielleKonsistenzEng.png)
Ongoing Optimization: Acquire-Release Semantics with CppMem
With the acquire-release semantics, we break the sequential consistency. In the acquire-release semantics,…
![sukzessiveOptimierungSequenzielleKonsistenzEng](https://www.modernescpp.com/wp-content/uploads/2016/08/sukzessiveOptimierungSequenzielleKonsistenzEng.png)
Ongoing Optimization: Sequential Consistency with CppMem
With atomic data types, you can tailor your program to your needs and optimize it. But now we are in…
![sukzessiveOptimierungLocksEng](https://www.modernescpp.com/wp-content/uploads/2016/08/sukzessiveOptimierungLocksEng.png)
Ongoing Optimization: Locks and Volatile with CppMem
The easiest way to solve the undefined behaviour in the post Ongoing Optimization: Unsynchronized access…
![undefinedEng](https://www.modernescpp.com/wp-content/uploads/2016/08/undefinedEng.png)
Ongoing Optimization: Unsynchronized Access with CppMem
I described my challenge in the last post. Let's 's start with our process of ongoing optimization. To…
![ongoingOptimization](https://www.modernescpp.com/wp-content/uploads/2016/08/ongoingOptimization.png)
Ongoing Optimization
Now it's time to put the theory into practice. The job is relatively easy. A small program should undergo…
![CppMemUeberblickNumbers](https://www.modernescpp.com/wp-content/uploads/2016/07/CppMemUeberblickNumbers.png)
CppMem – An Overview
CppMem is an interactive tool for exploring the behavior of small code snippets of the C++ memory model.…