join

$

t


->join

Waits for a thread to end and when it does, returns any exit values from the thread. Blocks until the thread has ended, unless the thread has already terminated.