fn is_thread_alive(&mut self, tid: Tid) -> Result<bool, Self::Error> {
        let mut found = false;
        self.list_active_threads(&mut |active_tid| {
            if tid == active_tid {
                found = true;
            }
        })?;
        Ok(found)
    }
/// Check if the specified thread is alive.
///
/// As a convenience, this method provides a default implementation which
/// uses `list_active_threads` to do a linear-search through all active
/// threads. On thread-heavy systems, it may be more efficient
/// to override this method with a more direct query.
Check if the specified thread is alive.
As a convenience, this method provides a default implementation which
uses `list_active_threads` to do a linear-search through all active
threads. On thread-heavy systems, it may be more efficient
to override this method with a more direct query.
Check if the specified thread is alive . As a convenience this method provides a default implementation which uses ` list_active_threads ` to do a linear - search through all active threads . On thread - heavy systems it may be more efficient to override this method with a more direct query .
fn is_thread_alive(&mut self, tid: Tid) -> Result<bool, Self::Error> {
        let mut found = false;
        self.list_active_threads(&mut |active_tid| {
            if tid == active_tid {
                found = true;
            }
        })?;
        Ok(found)
    }
fn is_thread_alive ( & mut self , tid : Tid ) -> Result < bool , Self :: Error > { let mut found = false ; self . list_active_threads ( & mut | active_tid | { if tid == active_tid { found = true ; } } ) ? ; Ok ( found ) }
Check if the specified thread is alive.
Check if the specified thread is alive .
&mut self
tid
Tid
&mut self
tid
Tid