Skip to content

Conversation

@rm155
Copy link

@rm155 rm155 commented Aug 20, 2021

In order to be Ractor-compliant, tmpdir must avoid relying on class variables. In non-main Ractors, where @@systmpdir cannot be accessed, a default value can be used instead.

Additionally, instance of the class Random cannot be made shareable, so RANDOM can be an instance of Object instead. This means that the “next” method would use Kernel#rand instead of Random#rand, but the method should still work.

@skull-squadron skull-squadron mentioned this pull request Jan 30, 2023
@nobu nobu closed this Dec 16, 2024
@hsbt
Copy link
Member

hsbt commented Dec 16, 2024

Ractor support is merged at #22

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