summaryrefslogtreecommitdiff
path: root/yarvcore.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-10 08:47:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-10 08:47:05 +0000
commitd274cf524ad0a8571d16f449301987af685a983d (patch)
tree5c92c3cecb575391ed8c5e0f68f935b18ae96e84 /yarvcore.h
parent6ccbfd76a1f0948f1cff76bea4d8f54956c82c3a (diff)
* common.mk: targets which depend on yarvcore.h now depend on
rubysig.h too. * yarvcore.h (rb_vm_t): use rb_atomic_t instead of int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
-rw-r--r--yarvcore.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/yarvcore.h b/yarvcore.h
index 4d98f42b90..79f410cad3 100644
--- a/yarvcore.h
+++ b/yarvcore.h
@@ -18,6 +18,7 @@
#include <setjmp.h>
#include "ruby.h"
+#include "rubysig.h"
#include "st.h"
#include "node.h"
@@ -326,8 +327,8 @@ typedef struct rb_vm_struct {
/* object management */
VALUE mark_object_ary;
- int signal_buff[RUBY_NSIG];
- int bufferd_signal_size;
+ rb_atomic_t signal_buff[RUBY_NSIG];
+ rb_atomic_t bufferd_signal_size;
} rb_vm_t;
typedef struct {