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

Correctly use JoinableTaskCollection #45848

Conversation

jasonmalinowski
Copy link
Member

I was incorrectly using JoinableTaskCollection.Join() under the impression that it actually did the wait; instead it just grants the ability for any of the JoinableTasks in the collection to use the current thread you're on, but doesn't actually do any waiting. This replaces it with the correct behavior.

I was incorrectly using JoinableTaskCollection.Join() under the
impression that it actually did the wait; instead it just grants the
ability for any of the JoinableTasks in the collection to use the
current thread you're on, but doesn't actually do any waiting. This
replaces it with the correct behavior.
@jasonmalinowski jasonmalinowski requested a review from a team as a code owner July 9, 2020 22:33
@sharwell
Copy link
Member

sharwell commented Jul 9, 2020

This is likely superseded by #45850

@jasonmalinowski
Copy link
Member Author

Indeed, I'll close this when that goes in.

@jasonmalinowski
Copy link
Member Author

Superseded by #45850.

@jasonmalinowski jasonmalinowski deleted the fix-incorrect-use-of-joinabletaskcollection.join branch August 3, 2020 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants