Function parking_lot_core::deadlock::acquire_resource[][src]

pub unsafe fn acquire_resource(_key: usize)

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