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

Skip processing async operations from epoll thread #35940

Merged
merged 1 commit into from
May 7, 2020

Conversation

kouvel
Copy link
Member

@kouvel kouvel commented May 7, 2020

Fixes #35330 (comment) by skipping state transitions when looking to process sync operations and the next operation is async. Verified manually by having IsNextOperationSynchronous_Speculative return true.

Fixes dotnet#35330 (comment) by skipping state transitions when an async operation needs to be processed.
@kouvel kouvel added this to the 5.0 milestone May 7, 2020
@kouvel kouvel self-assigned this May 7, 2020
@ghost
Copy link

ghost commented May 7, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@kouvel
Copy link
Member Author

kouvel commented May 7, 2020

Thanks for pointing this out @tmds, CC @adamsitnik, @stephentoub as well

@kouvel kouvel closed this May 7, 2020
@kouvel kouvel reopened this May 7, 2020
Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for fixing it @kouvel !

@stephentoub stephentoub merged commit faa7456 into dotnet:master May 7, 2020
@kouvel kouvel deleted the SocketFix branch May 7, 2020 16:57
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants