If a process crashes while holding a mutex, why is its ownership transferred to another process?

added by Paul Wheeler
9/26/2014 12:41:34 PM

3 Kicks, 197 Views

A customer was observing strange mutex ownership behavior. They had two processes that used a mutex to coordinate access to some shared resource. When the first process crashed while owning the mutex, they found that the second process somehow magically gained ownership of that mutex.