title: Can i use boost::threadpool as a 'thread-safe queue'?
body: <p>What I need is actually a thread-safe queue structure, where multiple clients keep dumping data into the queue and <em>one</em> working thread keeps processing and popping the queue</p>
  
  <p>is there any well-established solution existing in STL or Boost?</p>
  
  <p>I now think about using Boost::threadpool to do this. Simply set the number of parallel threads to be 1, the input parameter of task function is changed every time new message arrives from a client. Does this make sense, is there any limitation that I have not yet anticipated here?</p>