...

/

C++11 and C++14: The Foundation

C++11 and C++14: The Foundation

This lesson demonstrates the foundation and overview of concurrency in C++11 and C++14.

widget

With the publishing of the C++11 standard, C++ got a multithreading library and a memory model. This library has basic building blocks like atomic variables, threads, locks, and condition variables; that’s the foundation on which upcoming C++ standards such as C++17 and C++20 can establish higher abstractions. However, C++11 already knows tasks that provide a higher abstraction than the cited basic building blocks.

Roughly speaking, you can divide the concurrency story of C++ into three evolution steps.

...