diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-26 22:49:36 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-26 22:49:36 +0000 |
commit | 253938067a37d7ba9751ec1afbbd6033f886cab4 (patch) | |
tree | 6f602369e2968353069bda272015e82155062060 /vm_core.h | |
parent | 5768a4a7e051963db769b5aafe8aadc6bc97f867 (diff) | |
download | ruby-253938067a37d7ba9751ec1afbbd6033f886cab4.tar.gz |
* thread.c (rb_thread_terminate_all): add RUBY_VM_CHECK_INTS_BLOCKING().
Otherwise the loop in this function behave as busy loop because
native_sleep() return immediately when RUBY_VM_INTERRUPTED() is true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
0 files changed, 0 insertions, 0 deletions