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