ThreadPool icon indicating copy to clipboard operation
ThreadPool copied to clipboard

Should ThreadPool provide a function which waits until all thread finish?

Open morefreeze opened this issue 5 years ago • 5 comments

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!

morefreeze avatar Aug 10 '18 09:08 morefreeze