Skip to main content

set_pool

Function set_pool 

Source
pub fn set_pool(pool: &'static dyn Pool)
Expand description

Run parallel stages on pool from now on. The first call wins; later calls change nothing.

With a pool set, threads honours set_threads and OGEOM_THREADS on every target, and a stage takes at most Pool::workers workers.