Ruby: rb_thread_sched Struct Reference

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

Data Fields
rb_thread_sched Struct Reference

## Data Fields
const struct rb_thread_struct * | running
rb_nativethread_lock_t | lock
struct ccan_list_head | readyq
const struct rb_thread_struct * | timer
int | timer_err
rb_nativethread_cond_t | switch_cond
rb_nativethread_cond_t | switch_wait_cond
int | need_yield
int | wait_yield
HANDLE | lock

## Detailed Description

Definition at line 16 of file thread_none.h.

## Field Documentation

## ◆ lock [1/2]

rb_nativethread_lock_t rb_thread_sched::lock

Definition at line 69 of file thread_pthread.h.

## ◆ lock [2/2]

HANDLE rb_thread_sched::lock

Definition at line 39 of file thread_win32.h.

## ◆ need_yield

int rb_thread_sched::need_yield

Definition at line 89 of file thread_pthread.h.

## ◆ readyq

struct ccan_list_head rb_thread_sched::readyq

Definition at line 82 of file thread_pthread.h.

## ◆ running

const struct rb_thread_struct* rb_thread_sched::running

Definition at line 68 of file thread_pthread.h.

## ◆ switch_cond

rb_nativethread_cond_t rb_thread_sched::switch_cond

Definition at line 87 of file thread_pthread.h.

## ◆ switch_wait_cond

rb_nativethread_cond_t rb_thread_sched::switch_wait_cond

Definition at line 88 of file thread_pthread.h.

## ◆ timer

const struct rb_thread_struct* rb_thread_sched::timer

Definition at line 83 of file thread_pthread.h.

## ◆ timer_err

int rb_thread_sched::timer_err

Definition at line 84 of file thread_pthread.h.

## ◆ wait_yield

int rb_thread_sched::wait_yield

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