= private = protected
new(*threads)
Creates a ThreadsWait object, specifying the threads to wait on. Non-blocking.
# File lib/thwait.rb, line 80 def initialize(*threads) @threads = [] @wait_queue = Queue.new join_nowait(*threads) unless threads.empty? end