WaitForMultipleObjects for Boost.Thread?
I've been looking into Boost's thread library for threading, but I cannot seem to find equivalent functionality for the WinAPI WaitForMultipleObjects.
My need is simple.
I want to spawn n number of threads, and after having done so, wait until at least one of those threads have finished so that I can spawn additional threads.
WaitForMultipleObjects is ideal for this purpose, but I can't seem to find any such functionality in Boost.Thread?
Otherwise I would have to go polling every thread to see if they're finished and wait in-between (ie Sleep) making the solution non-portable.