title: pthreads - Join on group of threads, wait for one to exit
body: <p>In the POSIX thread interface, <code>pthread_join(thread)</code> can be used to block until the specified thread exits.</p>
  
  <p>Is there a similar function that will allow execution to block until any child thread exits?</p>
  
  <p>This would be similar to the <code>wait()</code> UNIX system call, except be applicable for child threads, not a processes</p>