Struct scoped_thread_pool::WaitGroup
source · pub struct WaitGroup { /* private fields */ }Expand description
A synchronization primitive for awaiting a set of actions.
Adding new jobs is done with submit, jobs are completed with complete,
and any thread may wait for all jobs to be completed with join.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WaitGroup
impl Send for WaitGroup
impl Sync for WaitGroup
impl Unpin for WaitGroup
impl UnwindSafe for WaitGroup
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