Skip to main content

release_stack

Function release_stack 

Source
pub fn release_stack(stack: &'static mut [u8])
Expand description

Release a stack back to the pool (plan.md §5.4 despawn/respawn). The slice is refilled with 0xAA so watermarking keeps working after the stack is reused. No-op if the slice did not come from the pool.