Skip to content

Add a test for what happens with concurent calls to waitpid #8245

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

Merged

Conversation

KJTsanaktsidis
Copy link
Contributor

Ruby 3.1 and 3.2 have a bug in their implementation, for which I'm backporting a fix. However, the current development branch doesn't have the issue (because the MJIT -> RJIT change refactored how waitpid worked substantially). I do however want to commit the test which verifies that waitpid works properly on master.

https://bugs.ruby-lang.org/issues/19837

[Fixes #19387]

@KJTsanaktsidis KJTsanaktsidis force-pushed the ktsanaktsidis/waitpid_issue_test branch from 779e537 to 05eb07a Compare August 18, 2023 14:21
@KJTsanaktsidis KJTsanaktsidis force-pushed the ktsanaktsidis/waitpid_issue_test branch 2 times, most recently from aaf5a6f to 3c3eef4 Compare August 30, 2023 19:09
Ruby 3.1 and 3.2 have a bug in their _implementation_, for which I'm
backporting a fix. However, the current development branch doesn't have
the issue (because the MJIT -> RJIT change refactored how waitpid worked
substantially). I do however want to commit the test which verifies
that waitpid works properly on master.

[Fixes #19387]
@KJTsanaktsidis KJTsanaktsidis force-pushed the ktsanaktsidis/waitpid_issue_test branch from 3c3eef4 to 0ff36c6 Compare January 10, 2024 10:33
@KJTsanaktsidis KJTsanaktsidis merged commit 76a8c96 into ruby:master Jan 11, 2024
@KJTsanaktsidis KJTsanaktsidis deleted the ktsanaktsidis/waitpid_issue_test branch January 11, 2024 02:12
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