summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-16 23:03:54 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-16 23:03:54 +0000
commit8addee964963725695f59184281810b7d6956713 (patch)
treeec93948cd877b6225b3c0865a5c4e4501adacc81 /thread.c
parent199fc6a54f8890c1935e797d5ef09a529bb5391b (diff)
* thread.c (rb_threadptr_interrupt_mask): fix to check interrupt
after interrupt_mask changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 035ccebd7d..4b750b4dcc 100644
--- a/thread.c
+++ b/thread.c
@@ -1508,6 +1508,8 @@ rb_threadptr_interrupt_mask(rb_thread_t *th, VALUE mask, VALUE (*func)(rb_thread
JUMP_TAG(state);
}
+ RUBY_VM_CHECK_INTS(th);
+
return r;
}