{"comment":{"url":"https://api.github.com/repos/Youka/ThreadPool/comments/12111261","html_url":"https://github.com/Youka/ThreadPool/commit/b2ac0d7a535ff7da66e668d2df91cb5b37796410#commitcomment-12111261","id":12111261,"user":{"login":"Youka","id":1723986,"avatar_url":"https://avatars.githubusercontent.com/u/1723986?v=3","gravatar_id":"","url":"https://api.github.com/users/Youka","html_url":"https://github.com/Youka","followers_url":"https://api.github.com/users/Youka/followers","following_url":"https://api.github.com/users/Youka/following{/other_user}","gists_url":"https://api.github.com/users/Youka/gists{/gist_id}","starred_url":"https://api.github.com/users/Youka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Youka/subscriptions","organizations_url":"https://api.github.com/users/Youka/orgs","repos_url":"https://api.github.com/users/Youka/repos","events_url":"https://api.github.com/users/Youka/events{/privacy}","received_events_url":"https://api.github.com/users/Youka/received_events","type":"User","site_admin":false},"position":37,"line":109,"path":"ThreadPool.hpp","commit_id":"b2ac0d7a535ff7da66e668d2df91cb5b37796410","created_at":"2015-07-10T18:24:28Z","updated_at":"2015-07-10T18:24:28Z","body":"Workers are joinable threads, so yes, their destruction invokes std::terminates. But this happens after pool destruction, so the **terminate** flag skips waiting for the threads to finish and forces termination earlier."}}