aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread_win32.h')
-rw-r--r--thread_win32.h10
1 files changed, 10 insertions, 0 deletions
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;