I'm wondering how to shutdown the thread pool. I have used the shutdown policy, but it can't work because the "void terminate_all_workers(bool const wait)" function is a private member function.
Log in to post a comment.