dach::parallel

Struct WorkerPool

source
pub struct WorkerPool { /* private fields */ }

Implementations§

source§

impl WorkerPool

source

pub fn kill(&mut self)

Kill all the threads of this worker pool. Does not wait for the threads to finish. [PoolScope::wait] can be used after this to achieve that behaviour.

§Panics

Panics if this method has already been called.

Trait Implementations§

source§

impl Clone for WorkerPool

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more