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 has size bytes of stack, so a bounded parse on it stays on it when the stack is large enough. A process calls this for its main thread. Pool workers from worker_pool_builder do it themselves.