diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-06 11:43:46 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-06 15:42:02 +0900 |
commit | f6925fab853ffc1872038f33d93e4e5c5379b4db (patch) | |
tree | a0dc7ae8b69a6b7092c4394344d3d68d2e354f10 /mjit.h | |
parent | f4dbfa0f04448386a662611682adf6b2219089a4 (diff) | |
download | ruby-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |