# File lib/thwait.rb, line 152
  def all_waits
    until @threads.empty?
      th = next_wait
      yield th if block_given?
    end
  end