Module parking_lot_core::parking_lot::deadlock
source · Expand description
[Experimental] Deadlock detection
Enabled via the deadlock_detection
feature flag.
Functions§
- Acquire a resource identified by key in the deadlock detector Noop if
deadlock_detection
feature isn’t enabled. - on_unpark 🔒 ⚠
- Release a resource identified by key in the deadlock detector. Noop if
deadlock_detection
feature isn’t enabled.