diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-16 23:03:54 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-16 23:03:54 +0000 |
commit | 8addee964963725695f59184281810b7d6956713 (patch) | |
tree | ec93948cd877b6225b3c0865a5c4e4501adacc81 /thread.c | |
parent | 199fc6a54f8890c1935e797d5ef09a529bb5391b (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |