Skip to main content

join_thread

Function join_thread 

Source
pub fn join_thread(thread_id: ThreadId) -> Result<usize, Error>
Expand description

Waits for the given thread to terminate and returns the exit code from that thread.