Skip to main content

set_threads

Function set_threads 

Source
pub fn set_threads(n: usize) -> usize
Expand description

Sets how many threads calls split their work across, for the whole process, and gives the number it replaces. 0 restores the default. 1 runs every call on its calling thread, as the speed tests do for their budgets.