title: std::thread: How to wait (join) for any of the given threads to complete?
body: <p>For example, I have two threads, <code>t1</code> and <code>t2</code>. I want to wait for <code>t1</code> <em>or</em> <code>t2</code> to finish. Is this possible?</p>
  
  <p>If I have a series of threads, say, a <code>std::vector&lt;std::thread&gt;</code>, how can I do it?</p>