Struct vrp_core::utils::Parallelism [−][src]
pub struct Parallelism { /* fields omitted */ }Expand description
Specifies data parallelism settings.
Implementations
Creates an instance of Parallelism.
Amount of total available CPUs.
Executes operation on thread pool with given index. If there is no thread pool with such index, then executes it without using any of thread pools.
Returns amount of thread pools used. Returns zero if default thread pool is used.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Parallelism
impl Send for Parallelism
impl Sync for Parallelism
impl Unpin for Parallelism
impl !UnwindSafe for Parallelism
Blanket Implementations
Mutably borrows from an owned value. Read more