pub(crate) unsafe fn release_resource(_key: usize)
Release a resource identified by key in the deadlock detector. Noop if deadlock_detection feature isn’t enabled.
deadlock_detection
Panics if the resource was already released or wasn’t acquired in this thread.
Call before the resource is released