Skip to main content

create_pool

Function create_pool 

Source
pub fn create_pool(workers: usize) -> PerlResult<PerlValue>
Expand description

Create a pool with workers OS threads (clamped to 1..=256). Each thread runs jobs sequentially; new Interpreter values are constructed per job (cheap vs thread spawn).