pub fn new() -> Arc<Self> {
        Arc::new(Self {
            records: Mutex::new(GroupRecords::default()),
            shutdown_wakeup: Condvar::new(),
        })
    }
/// Creates a new thread group.
Creates a new thread group.
Creates a new thread group .
pub fn new() -> Arc<Self> {
        Arc::new(Self {
            records: Mutex::new(GroupRecords::default()),
            shutdown_wakeup: Condvar::new(),
        })
    }
pub fn new ( ) -> Arc < Self > { Arc :: new ( Self { records : Mutex :: new ( GroupRecords :: default ( ) ) , shutdown_wakeup : Condvar :: new ( ) , } ) }
Creates a new thread group.
Creates a new thread group .