Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Mutexes are used to protect shared data structures being accessed concurrently. The thread that locks the mutex owns it, and the owning thread should be the only thread to unlock the mutex. If the mutex is destroyed while still in use, there is no more protection of critical sections and shared data.