Function origin::join_thread
source · pub unsafe fn join_thread(thread: Thread)
Expand description
Waits for a thread to finish.
Safety
thread
must point to a valid and live thread record that has not already
been detached or joined.