-
-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean finished threads in Group::Spawner. #678
Clean finished threads in Group::Spawner. #678
Conversation
I will review this and test it. Thanks for the PR here. |
So far I am very happy you patched this, and like what I see. My only concerns are to make sure the test is sufficient to cover all scenarios, which on first glance it seems to be... and wondering if the cleanup at shutdown ought to happen inside the |
Clean finished threads in Group::Spawner.
Some comments on why I had to change
|
I thought you might be avoiding mutex deadlocking, understood. |
There is a race condition in the test, on |
@digitalextremist I can't reproduce it on my computer but I understand how it's possible. Attempted to fix it in #679 |
Your #679 PR is perfect. Thank you |
This is my attempt to fix #670