diff options
Diffstat (limited to 'thread_win32.h')
-rw-r--r-- | thread_win32.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/thread_win32.h b/thread_win32.h index ec2930df12..b7ab91ea44 100644 --- a/thread_win32.h +++ b/thread_win32.h @@ -23,11 +23,18 @@ TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection); typedef HANDLE rb_thread_id_t; typedef CRITICAL_SECTION rb_thread_lock_t; -typedef struct rb_thread_cond_struct rb_thread_cond_t; +typedef struct rb_thread_cond_struct { + struct cond_event_entry *next; + struct cond_event_entry *last; +} rb_thread_cond_t; typedef struct native_thread_data_struct { HANDLE interrupt_event; } native_thread_data_t; +typedef struct rb_global_vm_lock_struct { + HANDLE lock; +} rb_global_vm_lock_t; + #endif /* RUBY_THREAD_WIN32_H */ |