Ruby  2.7.1p83(2020-03-31revisiona0c7c23c9cec0d0ffcba012279cd652d28ad5bf3)
thread_win32.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  thread_win32.h -
4 
5  $Author$
6 
7  Copyright (C) 2004-2007 Koichi Sasada
8 
9 **********************************************************************/
10 
11 /* interface */
12 #ifndef RUBY_THREAD_WIN32_H
13 #define RUBY_THREAD_WIN32_H
14 
15 # ifdef __CYGWIN__
16 # undef _WIN32
17 # endif
18 
19 WINBASEAPI BOOL WINAPI
20 TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection);
21 
22 typedef struct rb_thread_cond_struct {
23  struct cond_event_entry *next;
24  struct cond_event_entry *prev;
26 
27 typedef struct native_thread_data_struct {
30 
31 typedef struct rb_global_vm_lock_struct {
32  HANDLE lock;
34 
35 #endif /* RUBY_THREAD_WIN32_H */
36 
rb_thread_cond_struct
Definition: thread_win32.h:22
native_thread_data_struct::interrupt_event
HANDLE interrupt_event
Definition: thread_win32.h:28
rb_global_vm_lock_struct
Definition: thread_pthread.h:48
native_thread_data_t
struct native_thread_data_struct native_thread_data_t
TryEnterCriticalSection
WINBASEAPI BOOL WINAPI TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection)
rb_global_vm_lock_t
struct rb_global_vm_lock_struct rb_global_vm_lock_t
rb_nativethread_cond_t
struct rb_thread_cond_struct rb_nativethread_cond_t
rb_thread_cond_struct::prev
struct cond_event_entry * prev
Definition: thread_win32.h:24
rb_thread_cond_struct::next
struct cond_event_entry * next
Definition: thread_win32.h:23
rb_global_vm_lock_struct::lock
HANDLE lock
Definition: thread_win32.h:32
native_thread_data_struct
Definition: thread_pthread.h:23