Skip to main content

Module thread_pool

Module thread_pool 

Source
Expand description

Shared Rayon pool construction for analysis workloads.

Constants§

WORKER_STACK_SIZE
Worker stack size for analysis thread pools.

Functions§

register_thread_stack
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.
worker_pool_builder
Rayon pool builder preconfigured with the analysis worker stack size.