Ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a25176072e02db9254f0e0c84c805cd)
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
19WINBASEAPI BOOL WINAPI
20TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection);
21
22typedef struct rb_thread_cond_struct {
23 struct cond_event_entry *next;
24 struct cond_event_entry *prev;
26
27typedef struct native_thread_data_struct {
30
31typedef struct rb_global_vm_lock_struct {
32 HANDLE lock;
34
36
37#endif /* RUBY_THREAD_WIN32_H */
38
struct cond_event_entry * next
Definition: thread_win32.h:23
struct cond_event_entry * prev
Definition: thread_win32.h:24
struct rb_thread_cond_struct rb_nativethread_cond_t
struct native_thread_data_struct native_thread_data_t
WINBASEAPI BOOL WINAPI TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection)
void rb_native_mutex_destroy(rb_nativethread_lock_t *lock)
struct rb_global_vm_lock_struct rb_global_vm_lock_t