Method: ThreadsWait#join

Defined in:
lib/thwait.rb

#join(*threads) ⇒ Object

Waits for specified threads to terminate, and returns when one of the threads terminated.



80
81
82
83
# File 'lib/thwait.rb', line 80

def join(*threads)
  join_nowait(*threads)
  next_wait
end