A-lockC-feature-requesthelp wanted
Repository metrics
- Stars
- (4,701 stars)
- PR merge metrics
- (Avg merge 22d 16h) (3 merged PRs in 30d)
Description
It would be really nice if Mutex had deadlock detection (including via a feature flag). Especially in an async context where it's hard to peer into the state of tasks, these can be exceptionally hard to debug.
parking_lot does this for its synchronous locks, though it requires you to trigger detection manually on another thread.
cc @ctiller