diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-19 13:33:07 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-19 13:33:07 +0000 |
commit | e205cd80d2e4a4b77a06b74758dfd566d7c0b719 (patch) | |
tree | 64cd006976b962a3eb67e731c024a1498918f89d /internal.h | |
parent | 759cfd3bcb9d940ed9c11330cc995aacc2e12fe4 (diff) | |
download | ruby-e205cd80d2e4a4b77a06b74758dfd566d7c0b719.tar.gz |
process.c: do not run signal handler before fork
to prevent from proceeding one for MJIT while it's not safe yet.
By that situation, MJIT worker could be waiting for compiler process forever
http://ci.rvm.jp/results/trunk-mjit@silicon-docker/1468033
[Bug #15320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index d36723b273..6b00cbedc5 100644 --- a/internal.h +++ b/internal.h @@ -1633,6 +1633,7 @@ VALUE rb_math_sqrt(VALUE); #if USE_MJIT extern int mjit_enabled; VALUE mjit_pause(int wait_p); +void mjit_pause_without_ints(void); VALUE mjit_resume(void); #else #define mjit_enabled 0 |