pub fn new() -> WaitGroup {
        WaitGroup(Arc::new(WaitGroupInner {
            cond: Condvar::new(),
            count: Mutex::new(0),
        }))
    }
/// Create a new wait group.
Create a new wait group.
Create a new wait group .
pub fn new() -> WaitGroup {
        WaitGroup(Arc::new(WaitGroupInner {
            cond: Condvar::new(),
            count: Mutex::new(0),
        }))
    }
pub fn new ( ) -> WaitGroup { WaitGroup ( Arc :: new ( WaitGroupInner { cond : Condvar :: new ( ) , count : Mutex :: new ( 0 ) , } ) ) }
Create a new wait group.
Create a new wait group .