mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
199fc6a54f
commit
8addee9649
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 17 08:02:57 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c (rb_threadptr_interrupt_mask): fix to check interrupt
|
||||
after interrupt_mask changed.
|
||||
|
||||
Wed Oct 17 06:42:47 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_insnhelper.c (vm_call_method): fix to return value immediately.
|
||||
|
|
2
thread.c
2
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue