Struct rayon::ThreadPool [] [src]

pub struct ThreadPool { /* fields omitted */ }


impl ThreadPool

Constructs a new thread pool with the given configuration. If the configuration is not valid, returns a suitable Err result. See InitError for more details.

Executes op within the threadpool. Any attempts to join which occur there will then operate within that threadpool.

Trait Implementations

impl Drop for ThreadPool

A method called when the value goes out of scope. Read more