From 9b3aade1b6e848e22114e987e7f1d07c859e37c1 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 28 Jul 2008 07:02:07 +0000 Subject: * thread_win32.[ch]: moved definitions of cond_every_entry and rb_thread_cond_struct from .c to .h because rb_thread_cond_struct is used in vm_core.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_win32.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'thread_win32.h') diff --git a/thread_win32.h b/thread_win32.h index ec2930df12..cc982a9afc 100644 --- a/thread_win32.h +++ b/thread_win32.h @@ -25,6 +25,16 @@ typedef HANDLE rb_thread_id_t; typedef CRITICAL_SECTION rb_thread_lock_t; typedef struct rb_thread_cond_struct rb_thread_cond_t; +struct cond_event_entry { + struct cond_event_entry* next; + HANDLE event; +}; + +struct rb_thread_cond_struct { + struct cond_event_entry *next; + struct cond_event_entry *last; +}; + typedef struct native_thread_data_struct { HANDLE interrupt_event; } native_thread_data_t; -- cgit v1.2.1