Function parking_lot::deadlock::acquire_resource

source ·
pub(crate) 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