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