Skip to content

Try to Optimize QUIC Worker Wake #3138

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

nibanks
Copy link
Collaborator

@nibanks nibanks commented Oct 12, 2022

Description

Eliminate the need to wake the worker if it's already "ready".

Testing

Automation.

Documentation

N/A

@nibanks nibanks requested a review from a team as a code owner October 12, 2022 15:38
@nibanks nibanks added Area: Performance Area: Core Related to the shared, core protocol logic labels Oct 12, 2022
@nibanks nibanks marked this pull request as draft October 12, 2022 15:54
Comment on lines -668 to +670
Worker->ExecutionContext.Ready = TRUE;
InterlockedFetchAndSetBoolean(&Worker->ExecutionContext.Ready);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure these changes are strictly necessary, since they are happening on the worker thread (always).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Core Related to the shared, core protocol logic Area: Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant