Struct ocl_extras::work_pool::WorkPool
source · pub struct WorkPool { /* private fields */ }
Expand description
A general purpose work completion pool.
Contains elements of a single-threaded event loop and a thread pool.
Runs in and manages its own threads. Dropping the WorkPool
will block
the dropping thread until all submitted and spawned work is complete.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for WorkPool
impl Send for WorkPool
impl Sync for WorkPool
impl Unpin for WorkPool
impl !UnwindSafe for WorkPool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more