Skip to content

Conversation

ko1
Copy link
Contributor

@ko1 ko1 commented Nov 10, 2020

If outgoing_port is closed, Ractor.yield never successes.
[Bug #17310]

close_outgoing
end

true while Ractor.count == 1
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean until instead of while?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

😮

If outgoing_port is closed, Ractor.yield never successes.
[Bug #17310]
@ko1 ko1 force-pushed the ractor_yield_on_closed_outgoing_port branch from 9e05f4e to 5ac6394 Compare November 11, 2020 06:55
Copy link
Member

@marcandre marcandre left a comment

Choose a reason for hiding this comment

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

LGTM

@ko1 ko1 merged commit deed21b into ruby:master Nov 11, 2020
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.

2 participants