Skip to main content

register_thread_stack

Function register_thread_stack 

Source
pub fn register_thread_stack(size: usize)
Expand description

Record that the current thread was started with size bytes of stack.

Call it first thing in the thread, for example from a Rayon start_handler. A thread that never calls it counts as having no stack to spare, so each bounded parse on it gets its own thread.