We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From https://bugs.ruby-lang.org/issues/19443 and https://twitter.com/_byroot/status/1628074771459059714. Since truffleruby doesn't support fork there is no need to invalidate the pid, we can just store it in a constant and return that.
The text was updated successfully, but these errors were encountered:
Process.pid
$$
See ruby-concurrency/concurrent-ruby#991 (comment) $$ already caches the value, so probably we can def Process.pid; $$; end and use Truffle::POSIX.getpid to initialize $$.
def Process.pid; $$; end
Truffle::POSIX.getpid
Sorry, something went wrong.
horakivo
No branches or pull requests
From https://bugs.ruby-lang.org/issues/19443 and https://twitter.com/_byroot/status/1628074771459059714.
Since truffleruby doesn't support fork there is no need to invalidate the pid, we can just store it in a constant and return that.
The text was updated successfully, but these errors were encountered: