method
    
    all_waits
  all_waits(*threads)
  public
  Waits until all specified threads have terminated. If a block is provided, it is executed for each thread as they terminate.
  all_waits(*threads)
  public
  Waits until all specified threads have terminated. If a block is provided, it is executed for each thread as they terminate.