Function parking_lot_core::deadlock::acquire_resource
source · [−]pub unsafe fn acquire_resource(_key: usize)
Expand description
Acquire a resource identified by key in the deadlock detector Noop if deadlock_detection feature isn’t enabled.
Safety
Call after the resource is acquired