Skip to content
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

work_pool: move stopping from destructor to stop function #4437

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

dsiganos
Copy link
Contributor

@dsiganos dsiganos commented Feb 17, 2024

The work_pool starts a number of threads and joins them in the destructor.
This is pattern we want to break. We want to have a separate stop stage before destruction.
This change makes work_pool follow the new pattern.

@dsiganos dsiganos changed the title work_pool: move stopping form destructor to stop function work_pool: move stopping from destructor to stop function Feb 17, 2024
@dsiganos
Copy link
Contributor Author

I missed a whole bunch of work_pool cases that are exercised when start node in non-daemon modes.
I will fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants