Ruby: rb_thread_sched Struct Reference

Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)

Data Fields
rb_thread_sched Struct Reference

## Data Fields
rb_nativethread_lock_t | lock_
struct rb_thread_struct * | running
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 125 of file thread_pthread.h.

## ◆ grq_node

struct ccan_list_node rb_thread_sched::grq_node

Definition at line 130 of file thread_pthread.h.

## ◆ is_running

bool rb_thread_sched::is_running

Definition at line 123 of file thread_pthread.h.

## ◆ is_running_timeslice

bool rb_thread_sched::is_running_timeslice

Definition at line 124 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 118 of file thread_pthread.h.

## ◆ readyq

struct ccan_list_head rb_thread_sched::readyq

Definition at line 127 of file thread_pthread.h.

## ◆ readyq_cnt

int rb_thread_sched::readyq_cnt

Definition at line 128 of file thread_pthread.h.

## ◆ running

struct rb_thread_struct* rb_thread_sched::running

Definition at line 122 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