Troubleshooting Exceptions: System.Threading.AbandonedMutexException

The exception that is thrown when one thread is waiting on a Mutex object, and another thread abandons the Mutex by exiting without releasing it.

Remarks

An abandoned Mutex typically indicates a serious error in the code. When a thread exits without releasing the Mutex, the data structures protected by the Mutex might not be in a consistent state. The next thread to request ownership of the Mutex can handle this exception and proceed if the integrity of the data structures can be verified.

See Also

Tasks

How to: Use the Exception Assistant

Reference

AbandonedMutexException

Mutex

Other Resources

Threading (C# and Visual Basic)