diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-10 08:47:05 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-10 08:47:05 +0000 |
| commit | f482ac04661b10f72b32958d9a1bd6e35ea33541 (patch) | |
| tree | 5c92c3cecb575391ed8c5e0f68f935b18ae96e84 /yarvcore.h | |
| parent | 21a1800a95376d11696972a9182a6f6f1ddcfca4 (diff) | |
| download | ruby-f482ac04661b10f72b32958d9a1bd6e35ea33541.tar.gz ruby-f482ac04661b10f72b32958d9a1bd6e35ea33541.tar.xz ruby-f482ac04661b10f72b32958d9a1bd6e35ea33541.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@11689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
| -rw-r--r-- | yarvcore.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yarvcore.h b/yarvcore.h index 4d98f42b9..79f410cad 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 { |
