Ruby 4.1.0dev (2026-04-04 revision 3b6245536cf55da9e8bfcdb03c845fe9ef931d7f)
Data Fields
rb_native_thread Struct Reference

Data Fields

void * thread_id
 
rb_atomic_t serial
 
struct rb_vm_structvm
 
rb_nativethread_id_t thread_id
 
struct rb_thread_structrunning_thread
 
struct { 
 
   rb_nativethread_cond_t   intr 
 
   rb_nativethread_cond_t   readyq 
 
cond 
 
struct coroutine_contextnt_context
 
int dedicated
 
size_t machine_stack_maxsize
 
HANDLE thread_id
 
HANDLE interrupt_event
 

Detailed Description

Definition at line 11 of file thread_none.h.

Field Documentation

◆ dedicated

int rb_native_thread::dedicated

Definition at line 117 of file thread_pthread.h.

◆ interrupt_event

HANDLE rb_native_thread::interrupt_event

Definition at line 26 of file thread_win32.h.

◆ intr

rb_nativethread_cond_t rb_native_thread::intr

Definition at line 108 of file thread_pthread.h.

◆ machine_stack_maxsize

size_t rb_native_thread::machine_stack_maxsize

Definition at line 119 of file thread_pthread.h.

◆ nt_context

struct coroutine_context* rb_native_thread::nt_context

Definition at line 116 of file thread_pthread.h.

◆ readyq

rb_nativethread_cond_t rb_native_thread::readyq

Definition at line 109 of file thread_pthread.h.

◆ running_thread

struct rb_thread_struct* rb_native_thread::running_thread

Definition at line 95 of file thread_pthread.h.

◆ serial

rb_atomic_t rb_native_thread::serial

Definition at line 86 of file thread_pthread.h.

◆ thread_id [1/3]

void* rb_native_thread::thread_id

Definition at line 12 of file thread_none.h.

◆ thread_id [2/3]

rb_nativethread_id_t rb_native_thread::thread_id

Definition at line 89 of file thread_pthread.h.

◆ thread_id [3/3]

HANDLE rb_native_thread::thread_id

Definition at line 25 of file thread_win32.h.

◆ vm

struct rb_vm_struct* rb_native_thread::vm

Definition at line 87 of file thread_pthread.h.


The documentation for this struct was generated from the following files: