fn no_work_notify_all(&self) {
        if !self.has_work() {
            *self
                .empty_trigger
                .lock()
                .expect("Unable to notify all joining threads");
            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() {
            *self
                .empty_trigger
                .lock()
                .expect("Unable to notify all joining threads");
            self.empty_condvar.notify_all();
        }
    }
fn no_work_notify_all ( & self ) { if ! self . has_work ( ) { * self . empty_trigger . lock ( ) . expect ( " " ) ; 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