Struct collective::thread::handle::ThreadHandle
source · pub struct ThreadHandle<T> { /* private fields */ }
Expand description
A lightweight abstration over a regular thread that provides an API for determining if a thread has terminated.
Implementations§
source§impl<T> ThreadHandle<T>
impl<T> ThreadHandle<T>
sourcepub fn get_end_handle(&self) -> ThreadEndHandle
pub fn get_end_handle(&self) -> ThreadEndHandle
Returns a ThreadEndHandle
, which can be used for determining if a
thread has ended.