Expand description
Process-wide parallel execution policy.
PiP uses the current Rayon pool and never creates or owns one. Applications
should configure their Rayon pool to avoid oversubscription, then normally
call set_max_threads once near program startup. None leaves each PiP
method uncapped; Some(n) limits the jobs a single method can schedule.
Enums§
- Parallelism
Error - Invalid process-wide parallel execution policy.
Functions§
- max_
threads - Returns the current process-wide PiP method cap.
- set_
max_ threads - Sets the maximum threads one PiP method may use.