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

Fix completion queue shutdown race in C# #4501

Merged

Conversation

jtattermusch
Copy link
Contributor

This is an attempt to solve #4469 and #3098.
Basically, puts atomic increment and decrement around any call operation that touches completion queue under the hood and make sure there is no race condition between destroying the cq during shutdown and starting the call operation.

@jtattermusch jtattermusch force-pushed the refcounting_completion_queue_shutdown branch from 55549e7 to ea7469d Compare December 17, 2015 01:15
@jtattermusch
Copy link
Contributor Author

Failures on macos are git checkout problems and they are unrelated. Otherwise green. If the change looks good, please merge soon as this PR should fix a flake that prevents master from becoming green.

@jtattermusch jtattermusch added this to the GA milestone Dec 17, 2015
@stanley-cheung
Copy link
Contributor

LGTM. Merge?

jtattermusch added a commit that referenced this pull request Dec 17, 2015
…ue_shutdown

Fix completion queue shutdown race in C#
@jtattermusch jtattermusch merged commit 309b621 into grpc:master Dec 17, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 29, 2019
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.

3 participants