pub unsafe fn release_resource(_key: usize)Expand description
Stops recording one acquisition of the resource identified by key by
the current thread.
This is a no-op if the deadlock_detection feature is not enabled.
The key should match an acquisition previously recorded by this thread.
The bookkeeping may be removed before the underlying resource is
physically released.
ยงSafety
This must not be called from a callback passed to a parking-lot function.