Jump to: navigation, search


6 bytes removed, 05:27, 3 December 2016
C++ 11
Mutex offers these member functions for controlling locking
* lock - locks the mutex, blocks if the mutex is not availabl* unlock - unlocks the mutex* try_lock - tries to lock the mutex, returns if the mutex is not available
Example of thread locking/blocking

Navigation menu