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

Fixed ThreadPool when there are too many inactive threads #4485 #4505

Merged
merged 1 commit into from
Feb 25, 2019

Conversation

alexey-milovidov
Copy link
Member

For changelog. Remove if this is non-significant change.

Category (leave one):

  • Bug Fix

Short description (up to few sentences):
When there are more than 1000 threads in a thread pool, std::terminate may happen on thread exit. The bug and the fix is described by Azat Khuzhin in PR #4485.

@alexey-milovidov
Copy link
Member Author

Without this PR the test output is:

$ ./thread_pool_3
.......terminating
..Aborted (core dumped)

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