Glossary: C++ Beyond the Basics
Mutex
Also written: mutexes, std::mutex, mutual exclusion
A lock that only one thread at a time can hold. It protects bigger shared data such as a vector of tickets.
Glossary: C++ Beyond the Basics
Also written: mutexes, std::mutex, mutual exclusion
A lock that only one thread at a time can hold. It protects bigger shared data such as a vector of tickets.