Ruby: rb_thread_sched Struct Reference

Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)

Data Fields
rb_thread_sched Struct Reference

## Data Fields
rb_nativethread_lock_t | lock_
struct rb_thread_struct * | running
struct rb_thread_struct * | runnable_hot_th
int | runnable_hot_th_waiting
bool | is_running
bool | is_running_timeslice
bool | enable_mn_threads
struct ccan_list_head | readyq
int | readyq_cnt
struct ccan_list_node | grq_node
HANDLE | lock

## Detailed Description

Definition at line 16 of file thread_none.h.

## Field Documentation

## ◆ enable_mn_threads

bool rb_thread_sched::enable_mn_threads

Definition at line 140 of file thread_pthread.h.

## ◆ grq_node

struct ccan_list_node rb_thread_sched::grq_node

Definition at line 145 of file thread_pthread.h.

## ◆ is_running

bool rb_thread_sched::is_running

Definition at line 138 of file thread_pthread.h.

## ◆ is_running_timeslice

bool rb_thread_sched::is_running_timeslice

Definition at line 139 of file thread_pthread.h.

## ◆ lock

HANDLE rb_thread_sched::lock

Definition at line 34 of file thread_win32.h.

## ◆ lock_

rb_nativethread_lock_t rb_thread_sched::lock_

Definition at line 128 of file thread_pthread.h.

## ◆ readyq

struct ccan_list_head rb_thread_sched::readyq

Definition at line 142 of file thread_pthread.h.

## ◆ readyq_cnt

int rb_thread_sched::readyq_cnt

Definition at line 143 of file thread_pthread.h.

## ◆ runnable_hot_th

struct rb_thread_struct* rb_thread_sched::runnable_hot_th

Definition at line 136 of file thread_pthread.h.

## ◆ runnable_hot_th_waiting

int rb_thread_sched::runnable_hot_th_waiting

Definition at line 137 of file thread_pthread.h.

## ◆ running

struct rb_thread_struct* rb_thread_sched::running

Definition at line 132 of file thread_pthread.h.

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

- thread_none.h
- thread_pthread.h
- thread_win32.h