How to block the main thread until all the other threads finish executing?
<p>This is a newbie question. I start 10 threads from my main thread. How do I stop the main thread from continuing until all the other threads finish?</p>
