December 2021
Intermediate to advanced
352 pages
9h 32m
English
The concurrency and parallelism section of the Core Guidelines addresses a well-known fact of programming life for C++ developers: multithreaded programming is harder than single-threaded programming. It introduces a unique class of errors to bemuse the unwary. It is ferociously hard to debug multiple threads of execution since the primary tool of debugging, stepping through code line by line, is a strictly serial process.
Let us consider how we got here. You will almost certainly have encountered a diagram like that shown in Figure 2.5.1.
Figure 2.5.1. ...
Read now
Unlock full access