summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 3654663cc6..9241d274b0 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -333,6 +333,16 @@ native_mutex_destroy(rb_thread_lock_t *lock)
#endif
}
+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;
+};
+
static void
native_cond_signal(rb_thread_cond_t *cond)
{