ThreadPool
ThreadPool copied to clipboard
Should ThreadPool provide a function which waits until all thread finish?
Dear developer:
I want to add shutdown
function that waits until all worker finish. Because I found ThreadPool will deconstructing directly if process exit. I think user have right to choose terminate ThreadPool or wait for finishing.
Are you agree with me? If you do I can submit a PR. Have a good day!