Skip to main content

deallocate_stack

Function deallocate_stack 

Source
pub fn deallocate_stack(__arg0: StackHandle)
Expand description

Releases a stack after the reaper proves no context can reference it.

Ownership transfers exactly once. The scheduler has already crossed the switch-tail lifetime boundary, so a provider must treat an inability to release this handle as a fatal runtime invariant rather than inventing a polling retry protocol.