Thread-Safe Initialization
This lesson gives a brief introduction to the thread safe initialization of variables in concurrent programming with C++.
We'll cover the following...
If a variable is never modified, there is no need for synchronization by using an expensive lock or an atomic. We only have to ensure that it is initialized in a thread-safe ...