Function stacker::grow

source · []
pub fn grow<R, F: FnOnce() -> R>(stack_size: usize, callback: F) -> R
Expand description

Always creates a new stack for the passed closure to run on. The closure will still be on the same thread as the caller of grow. This will allocate a new stack with at least stack_size bytes.