Ruby: thread_win32.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Structures | Macros | Typedefs | Functions | Variables
thread_win32.h File Reference

Go to the source code of this file.

## Data Structures
struct | rb_thread_cond_struct
struct | native_thread_data_struct
struct | rb_global_vm_lock_struct

## Macros
#define | USE_VM_CLOCK 1

## Typedefs
typedef struct rb_thread_cond_struct | rb_nativethread_cond_t
typedef struct native_thread_data_struct | native_thread_data_t
typedef struct rb_global_vm_lock_struct | rb_global_vm_lock_t
typedef DWORD | native_tls_key_t

## Functions
WINBASEAPI BOOL WINAPI | TryEnterCriticalSection (IN OUT LPCRITICAL_SECTION lpCriticalSection)

## Variables
native_tls_key_t | ruby_current_ec_key

## Macro Definition Documentation

## ◆ USE_VM_CLOCK

#define USE_VM_CLOCK 1

Definition at line 19 of file thread_win32.h.

## Typedef Documentation

## ◆ native_thread_data_t

typedef struct native_thread_data_struct native_thread_data_t

## ◆ native_tls_key_t

typedef DWORD native_tls_key_t

Definition at line 37 of file thread_win32.h.

## ◆ rb_global_vm_lock_t

typedef struct rb_global_vm_lock_struct rb_global_vm_lock_t

## ◆ rb_nativethread_cond_t

typedef struct rb_thread_cond_struct rb_nativethread_cond_t

## Function Documentation

## ◆ TryEnterCriticalSection()

WINBASEAPI BOOL WINAPI TryEnterCriticalSection | ( | IN OUT LPCRITICAL_SECTION | lpCriticalSection | ) |

## Variable Documentation

## ◆ ruby_current_ec_key

native_tls_key_t ruby_current_ec_key
| extern

Definition at line 400 of file vm.c.

Referenced by rb_check_stack_overflow().