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.
deadlock_detection
Call after the resource is acquired