pub fn set_threads(n_threads: usize)Expand description
Set the process-global default thread count for Python APIs that accept threads=.
§Parameters
n_threads : int
The default number of threads to use for omitted thread arguments and for threads=0.
Setting this to 0 resets the default to “all available CPUs”.
§Notes
Explicit positive threads= arguments on individual calls override this default.