title: versatile pthread based multithread utility library
body: <p>I don't want to reinvent the wheel, and what I'm looking for most likely already exist in the FOSS world. </p>
  
  <p>I'm looking for a pthread bases utility library that implements often used primitives to do communication between threads.</p>
  
  <p>My main need is some kind of blocking queue for fixed size messages and the ability to wait for data to arrive on multiple queues at the same time (what you usually do using poll and select with file-handles).</p>
  
  <p>Does something like this exist?</p>
  
  <p>Programming language is C++ but I'm fine with a C library. OS is Linux but anything posix will do.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I'm not looking for a thin wrapper around pthreads (like boost::thread or so). I already have this up and running. I'm looking for higher level primitives. Basically What java.util.concurrancey offers for the java guys. </p>