Generic lock management
In the previous section, we saw the different types of mutexes provided by the C++ Standard Library. In this section, we will see the provided classes to make the use of mutexes easier. This is done by using different wrapper classes. The following table summarizes the lock management classes and their main features:
Mutex Manager Class |
Supported Mutex Types |
Mutexes Managed |
|
All |
1 |
|
All |
Zero or more |
|
All |
1 |
|
|
1 |
Table 4.3: Lock...