aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/process.c b/process.c
index dbdcade71a..69b6632955 100644
--- a/process.c
+++ b/process.c
@@ -1074,12 +1074,6 @@ waitpid_wait(struct waitpid_state *w)
}
else if (w->options & WNOHANG) {
w->cond = 0;
-
- /* MJIT must be waiting, but don't tell Ruby callers about it */
- if (w->pid < 0 && !list_empty(&vm->waiting_pids)) {
- w->ret = -1;
- w->errnum = ECHILD;
- }
}
else {
w->cond = rb_sleep_cond_get(w->ec);