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

Improving the thread manager #91

Merged
merged 3 commits into from
Sep 15, 2023
Merged

Improving the thread manager #91

merged 3 commits into from
Sep 15, 2023

Conversation

kazu-yamamoto
Copy link
Owner

@edsko I'm trying to use the thread manager from http3. This PR provides the followings. What do you think?

  • Exporting the thread manager APIs.
  • "Spawn" ensures to delete the thread id of newly spawned thread.
  • KilledByHttp2ThreadPoolManager -> KilledByHttp2ThreadManager: thread pool means worker pool. But this manager is now also used in the client side. So, I'd like to remove "pool".

@edsko
Copy link
Collaborator

edsko commented Sep 15, 2023

@kazu-yamamoto All looks good to me! I just ran my test suite with this PR to make sure, and all is good. And I like the fact that deleteMyId is no longer exported, I think that's a good improvement.

@kazu-yamamoto kazu-yamamoto merged commit 4fac5ed into master Sep 15, 2023
10 checks passed
@kazu-yamamoto kazu-yamamoto deleted the manager branch September 15, 2023 14:01
@kazu-yamamoto
Copy link
Owner Author

Merged.
Thank you for your review!

edsko added a commit to well-typed/grapesy that referenced this pull request Sep 19, 2023
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