In the STL, we find the following header organization, and their provided functionality:
| Header | Provides |
| <thread> | The std::thread class. Methods under std::this_thread namespace:
|
| <mutex> | Classes:
|
| <shared_mutex> | Classes:
|
| <future> | Classes:
|
| <condition_variable> | Classes:
|
In the preceding table, we can see the functionality provided by each header along with the features introduced with the 2014 and 2017 standards. In the following sections, we will take a detailed look at each function and class.