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.
My main problem is whenever any of the newly created threads reach the point of the condition variable my whole program freezes.
For more information, please check: Boost 1.49 Condition Variable issue
Until now I didn't receive any positive response, and I am not able to solve the problem.
Thanks a lot.