Skip to main content

configure_thread_pool

Function configure_thread_pool 

Source
pub fn configure_thread_pool()
Expand description

Initialize the Rayon global thread pool for parallel rasterization and backdrop rendering.

Respects NCVIEW_THREADS or RAYON_NUM_THREADS if set. Otherwise, defaults conservatively to min(available_cpus, 8) to prevent hogging resources on shared HPC head nodes.