-
Notifications
You must be signed in to change notification settings - Fork 215
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
Make C-extension Ractor-safe #2024
Comments
From a quick look at Lines 4 to 9 in c255458
rbs/ext/rbs_extension/parser.c Lines 2985 to 2987 in c255458
https://github.com/ruby/rbs/blob/master/ext/rbs_extension/constants.c are just some written-once variables (so basically constants). And https://github.com/ruby/rbs/blob/master/ext/rbs_extension/location.c seems to have no state as well. @mohamedhafez Could you make a PR? |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In planning ahead to the near future when TruffleRuby can run C-extensions marked with
rb_ext_ractor_safe(true)
in parallel, and for when Ractors are no longer just experimental, it would be great if the C-extension could be made Ractor-safe, or marked as such if it already is so! Would be happy to send in a PR in the later case.The text was updated successfully, but these errors were encountered: