title: Boost Condition Variable with multiple threads
body: <p>In my program, I have two basic threads. The first one is the main thread and the second is a Tcp server thread. The TCP server will listen for requests ,and for each request it will create a corresponding thread, each of the newly created threads should start working until they reach a certain point where they have to wait for an indication from the main thread. To solve this issue I am implementing a condition variable using Boost 1.49.</p>
  
  <p>My main problem is whenever any of the newly created threads reach the point of the condition variable my whole program freezes.</p>
  
  <p>For more information, please check:
  <a href="https://stackoverflow.com/questions/22417656/boost-1-49-condition-variable-issue">Boost 1.49 Condition Variable issue</a></p>
  
  <p>Until now I didn't receive any positive response, and I am not able to solve the problem.</p>
  
  <p>Thanks a lot.</p>