<br>
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