Add a debug implementation to Mutex that detects deadlocks caused by calling lock twice in a single thread.
alignment