Skip to content

Fix a race in Job.join that sporadically results in normal completion #1127

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

Merged
merged 2 commits into from
Apr 24, 2019

Conversation

elizarov
Copy link
Contributor

The race happens in the slow-path of 'join' implementation when
parent invokes join on a child coroutines that crashes and cancels
the parent.

Fixes #1123

@LouisCAD
Copy link
Contributor

Is this planned for 1.2.1?

@elizarov elizarov added this to the 1.2.1 milestone Apr 21, 2019
@elizarov elizarov force-pushed the join-race branch 2 times, most recently from aad13e1 to d441ff0 Compare April 21, 2019 21:34
The race happens in the slow-path of 'join' implementation when
parent invokes join on a child coroutines that crashes and cancels
the parent.

Fixes #1123
@elizarov elizarov merged commit 9e9c9a3 into develop Apr 24, 2019
@elizarov elizarov deleted the join-race branch April 24, 2019 11:47
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.

3 participants