fn no_work_notify_all(&self) {
        if !self.has_work() {
            let _lock = self.empty_trigger.lock();
            self.empty_condvar.notify_all();
        }
    }
/// Notify all observers joining this pool if there is no more work to do.
Notify all observers joining this pool if there is no more work to do.
Notify all observers joining this pool if there is no more work to do .
fn no_work_notify_all(&self) {
        if !self.has_work() {
            let _lock = self.empty_trigger.lock();
            self.empty_condvar.notify_all();
        }
    }
fn no_work_notify_all ( & self ) { if ! self . has_work ( ) { let _lock = self . empty_trigger . lock ( ) ; self . empty_condvar . notify_all ( ) ; } }
Notify all observers joining this pool if there is no more work to do.
Notify all observers joining this pool if there is no more work to do .
&self
&self