summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-12 22:22:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-12 22:22:37 +0000
commit2bd099b099d597a46ca636845a017b151e08ce2a (patch)
treed4e36c2f13f2daa6877551c4043cd66cc5fdaab5
parent59384c11622b18fd33eca5889611a95325cd5879 (diff)
downloadruby-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.h5
1 files 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)