diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-27 10:09:33 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-27 10:09:33 +0000 |
commit | 92f5653f452e28ff6094fdcc35e280e27470f8ce (patch) | |
tree | dcaaf733121369149883e957766260c1fdc2a0af /object.c | |
parent | 6b534134a78e3e43c344682c3585e1abab015216 (diff) | |
download | ruby-92f5653f452e28ff6094fdcc35e280e27470f8ce.tar.gz |
process.c (waitpid_wait): do not set ECHILD prematurely
It is possible to have both MJIT and normal child processes
alive, so we cannot set ECHILD based on such a guess. We can
still elide waitpid(PID <= 0) calls if we have callers in
vm->waiting_pids, however.
For specs, ensure Process.waitall does not leak MJIT
PIDs to Rubyspace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions