title: waiting for multiple condition variables in boost?
body: <p>I'm looking for a way to wait for multiple condition variables.
  ie. something like:</p>
  
  <pre><code>boost::condition_variable cond1;  
  boost::condition_variable cond2;
  
  void wait_for_data_to_process()  
  {  
      boost::unique_lock&lt;boost::mutex&gt; lock(mut);
  
      wait_any(lock, cond1, cond2); //boost only provides cond1.wait(lock);
  
      process_data();
  }
  </code></pre>
  
  <p>Is something like this possible with condition variables. And if not are there alternative solutions?</p>
  
  <p>Thanks</p>