General
This lesson provides a simple set of rules for writing well-defined and fast, concurrent programs in modern C++.
Multithreading, parallelism, and concurrency, in particular, are quite new topics in C++; therefore, more and more best practices will be discovered in the coming years. Consider the rules in this chapter not as a complete list, but rather as a necessary starting point that will evolve over time. This holds particularly true for the parallel STL. At the time of writing this course (08/2017), the new C++17 standard - including the parallel algorithms - hasn’t been published yet; therefore, it is too early to formulate best practices for it.
Let’s start with a few very general best practices that will apply to ...
Access this course and 1400+ top-rated courses and projects.