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

Fiber.yield is not allowed on transferred fiber #410

Merged
merged 1 commit into from
Oct 8, 2020
Merged

Conversation

ko1
Copy link
Contributor

@ko1 ko1 commented Oct 8, 2020

https://bugs.ruby-lang.org/issues/17221 will change the behavior of Fiber#transfer,
so that Fiber#transfer's usage should be changed.

(1) Transferred fiber can not Fiber.yield
(2) Fiber.yield should be used with Fiber#resume

https://bugs.ruby-lang.org/issues/17221 will change the behavior of Fiber#transfer,
so that `Fiber#transfer`'s usage should be changed.

(1) Transferred fiber can not `Fiber.yield` 
(2) `Fiber.yield` should be used with `Fiber#resume`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants