From 2bd099b099d597a46ca636845a017b151e08ce2a Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 12 Feb 2010 22:22:37 +0000 Subject: * 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 --- vm_core.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vm_core.h b/vm_core.h index 525752ac19..fd68050756 100644 --- a/vm_core.h +++ b/vm_core.h @@ -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) -- cgit v1.2.1