method
join
ruby latest stable - Class:
ThreadsWait
join(*threads)public
Waits for specified threads to terminate, and returns when one of the threads terminated.
join(*threads)Waits for specified threads to terminate, and returns when one of the threads terminated.