aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-09-06 11:43:46 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2022-09-06 15:42:02 +0900
commitf6925fab853ffc1872038f33d93e4e5c5379b4db (patch)
treea0dc7ae8b69a6b7092c4394344d3d68d2e354f10 /mjit.h
parentf4dbfa0f04448386a662611682adf6b2219089a4 (diff)
downloadruby-f6925fab853ffc1872038f33d93e4e5c5379b4db.tar.gz
Do not fork the process on --mjit-wait
fork is for parallel compilation, but --mjit-wait cancels it. It's more useful to not fork it for binding.irb, debugging, etc.
Diffstat (limited to 'mjit.h')
-rw-r--r--mjit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.h b/mjit.h
index 66db417daf..55b9fbcfcd 100644
--- a/mjit.h
+++ b/mjit.h
@@ -100,7 +100,7 @@ extern void mjit_mark(void);
extern struct mjit_cont *mjit_cont_new(rb_execution_context_t *ec);
extern void mjit_cont_free(struct mjit_cont *cont);
extern void mjit_mark_cc_entries(const struct rb_iseq_constant_body *const body);
-extern void mjit_notify_waitpid(int status);
+extern void mjit_notify_waitpid(int exit_code);
void mjit_child_after_fork(void);