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

Add write barriers to IO_Event_Selector_resume/_raise. #124

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Oct 21, 2024

Possible fix for #123.

Even thought there is a pointer on the stack, it's a pointer to itself (rb_fiber_current) and thus a circular reference, thus entirely possible for the GC to clean up this fiber.

Types of Changes

  • Bug fix.

Contribution

@ioquatix ioquatix merged commit 16b1fa6 into main Oct 21, 2024
60 of 70 checks passed
@ioquatix ioquatix deleted the selector-write-barriers branch October 21, 2024 23:04
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.

1 participant