Ruby  2.5.0dev(2017-10-22revision60238)
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 
struct rb_thread_cond_struct rb_nativethread_cond_t
WINBASEAPI BOOL WINAPI TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection)
struct rb_global_vm_lock_struct rb_global_vm_lock_t
struct cond_event_entry * next
Definition: thread_win32.h:23
struct native_thread_data_struct native_thread_data_t
struct cond_event_entry * prev
Definition: thread_win32.h:24