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 WaitForMultipleObjects to wait for the threads to finish in primary thread.