summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-28 11:17:43 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-28 11:17:43 +0000
commit1cf72524fe23e12d75aa4ae1205e03dab3a965ec (patch)
tree1449a60d9bee972bc7cde0b9cdb6e5eefdad2104 /vm_core.h
parent503354c4d2d97fb9a47b2756f64abb124556ac37 (diff)
downloadruby-1cf72524fe23e12d75aa4ae1205e03dab3a965ec.tar.gz
ruby-1cf72524fe23e12d75aa4ae1205e03dab3a965ec.tar.xz
ruby-1cf72524fe23e12d75aa4ae1205e03dab3a965ec.zip
* vm_core.h: move the definition of struct rb_mutex_struct.
* thread.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/vm_core.h b/vm_core.h
index 5a97d10ed..88087a7db 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -498,15 +498,6 @@ struct rb_thread_struct
int abort_on_exception;
};
-struct rb_mutex_struct
-{
- rb_thread_lock_t lock;
- rb_thread_cond_t cond;
- struct rb_thread_struct volatile *th;
- volatile int cond_waiting, cond_notified;
- struct rb_mutex_struct *next_mutex;
-};
-
/* iseq.c */
VALUE rb_iseq_new(NODE*, VALUE, VALUE, VALUE, VALUE);
VALUE rb_iseq_new_with_bopt(NODE*, VALUE, VALUE, VALUE, VALUE, VALUE);