I\'m using multithreading in my application with _beginthread and right now to wait until all threads are done I have global bools that get set to true as each thread comple
You can use boost::thread objects. Call join on the object and it will wait for the thread to finish.
join