diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-12 22:22:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-12 22:22:37 +0000 |
commit | 2bd099b099d597a46ca636845a017b151e08ce2a (patch) | |
tree | d4e36c2f13f2daa6877551c4043cd66cc5fdaab5 | |
parent | 59384c11622b18fd33eca5889611a95325cd5879 (diff) | |
download | ruby-2bd099b099d597a46ca636845a017b151e08ce2a.tar.gz |
* vm_core.h (enum ruby_vm_interrupted_bits): named.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | vm_core.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -733,11 +733,12 @@ int ruby_thread_set_native(rb_thread_t *th); #error "unsupported thread model" #endif -enum { +enum ruby_vm_interrupted_bits { ruby_vm_timer_bit = 0x01, ruby_vm_interrupt_bit = 0x02, ruby_vm_finalizer_bit = 0x04, - ruby_vm_signal_bit = 0x08 + ruby_vm_signal_bit = 0x08, + ruby_vm_all_interrupted_bits = 0x0f }; #define RUBY_VM_SET_INTERRUPT(th) ((th)->interrupt_flag |= ruby_vm_interrupt_bit) |