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

Rework thread pool #201

Merged
merged 8 commits into from
Mar 11, 2024
Merged

Rework thread pool #201

merged 8 commits into from
Mar 11, 2024

Conversation

mosquito
Copy link
Collaborator

@mosquito mosquito commented Mar 8, 2024

  • Now the thread pool starts two threads on initialisation step, and grows twofold until it reaches max_workers as needed.
  • Fixed an issue where the thread pool was leaking if multiple thread pools were starting and stopping, GC was not resolving a cyclic dependency as well.

@mosquito mosquito merged commit 5d20793 into master Mar 11, 2024
16 checks passed
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.

3 participants