pub fn shutdown(self) {
        // this sends a shutdown to the admin thread, which will broadcast the
        // signal to all sibling threads in the process
        if self.signal_tx.try_send(Signal::Shutdown).is_err() {
            fatal!("error sending shutdown signal to thread");
        }

        // wait and join all threads
        self.wait()
    }
/// Attempts to gracefully shutdown the `Process` by sending a shutdown to
/// each thread and then waiting to join those threads.
///
/// Will terminate ungracefully if it encounters an error in sending a
/// shutdown to any of the threads.
///
/// This function will block until all threads have terminated.
Attempts to gracefully shutdown the `Process` by sending a shutdown to
each thread and then waiting to join those threads.

Will terminate ungracefully if it encounters an error in sending a
shutdown to any of the threads.

This function will block until all threads have terminated.
Attempts to gracefully shutdown the ` Process ` by sending a shutdown to each thread and then waiting to join those threads . Will terminate ungracefully if it encounters an error in sending a shutdown to any of the threads . This function will block until all threads have terminated .
pub fn shutdown(self) {
        // this sends a shutdown to the admin thread, which will broadcast the
        // signal to all sibling threads in the process
        if self.signal_tx.try_send(Signal::Shutdown).is_err() {
            fatal!("error sending shutdown signal to thread");
        }
        // wait and join all threads
        self.wait()
    }
pub fn shutdown ( self ) { // this sends a shutdown to the admin thread, which will broadcast the // signal to all sibling threads in the process if self . signal_tx . try_send ( Signal :: Shutdown ) . is_err ( ) { fatal ! ( " " ) ; } // wait and join all threads self . wait ( ) }
Attempts to gracefully shutdown the `Process` by sending a shutdown to
each thread and then waiting to join those threads.
Attempts to gracefully shutdown the ` Process ` by sending a shutdown to each thread and then waiting to join those threads .
self
self