diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-20 00:13:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-20 00:13:15 +0000 |
commit | fcf080151880aad6088e6c8bf148f9c0df25925d (patch) | |
tree | 537517338f7a16c545063ae3b824141856729066 /thread.c | |
parent | 2f1ce283586d964b246bc2d3422a52a881a12b89 (diff) |
thread.c: use RUBY_VM_CHECK_INTS
* thread.c (rb_thread_schedule): use dedicated macro
RUBY_VM_CHECK_INTS().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1210,9 +1210,7 @@ rb_thread_schedule(void) rb_thread_t *cur_th = GET_THREAD(); rb_thread_schedule_limits(0); - if (UNLIKELY(RUBY_VM_INTERRUPTED_ANY(cur_th))) { - rb_threadptr_execute_interrupts(cur_th, 0); - } + RUBY_VM_CHECK_INTS(cur_th); } /* blocking region */ |