
Am Samstag, den 30.12.2006, 00:00 +0100 schrieb Giacomo Piccolo:
Hello everybody,
I've got a synchronization problem with two threads and I need a semaphore or a condition class in which a thread can wait on until that condition is verified. In other words i need to synchronize two or more threads and I need the wait() and notify() routines.
I found some useful code in boost::thread libraries, but it seems I could not use it because it seems not completely built...or.. boh I don't really know.
Boost.Thread isn't header only, you have to build link against it. On Linux you should install the related package of your distro. If you do it on your own(i.e. because you don't have install rights) follow the getting started guide ${BOOST_DIR}/more/getting_started/index.html HTH Maik