Struct rayon::ThreadPool [] [src]

pub struct ThreadPool {
    // some fields omitted
}

Methods

impl ThreadPool
[src]

fn new() -> ThreadPool

fn install<OP, R>(&self, op: OP) -> R where OP: FnOnce() -> R + Send

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

Trait Implementations

impl Drop for ThreadPool
[src]

fn drop(&mut self)

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