http://qs1969.pair.com?node_id=1085054


in reply to Re^4: What is the correct way to finish multithreaded program?
in thread What is the correct way to finish multithreaded program?

If you can make the code run .. and reproduce the problem, you can see the only real way to wait is to join everything not merely the immediately joinable :)
  • Comment on Re^5: What is the correct way to finish multithreaded program?