Ruby: rb_thread_sched_waiting Struct Reference

Ruby 3.4.9p82 (2026-03-11 revision 76cca827ab52ab1d346a728f068d5b8da3e2952b)

Public Types | Data Fields
rb_thread_sched_waiting Struct Reference

## Public Types
enum | thread_sched_waiting_flag { thread_sched_waiting_none = 0x00 , thread_sched_waiting_timeout = 0x01 , thread_sched_waiting_io_read = 0x02 , thread_sched_waiting_io_write = 0x08 , thread_sched_waiting_io_force = 0x40 }

## Data Fields
enum rb_thread_sched_waiting::thread_sched_waiting_flag | flags
struct { |
uint64_t timeout |
int fd |
int result |
} | data
struct ccan_list_node | node

## Detailed Description

Definition at line 21 of file thread_pthread.h.

## Member Enumeration Documentation

## ◆ thread_sched_waiting_flag

enum rb_thread_sched_waiting::thread_sched_waiting_flag

Definition at line 22 of file thread_pthread.h.

## Field Documentation

## ◆ fd

int rb_thread_sched_waiting::fd

Definition at line 37 of file thread_pthread.h.

## ◆ node

struct ccan_list_node rb_thread_sched_waiting::node

Definition at line 42 of file thread_pthread.h.

## ◆ result

int rb_thread_sched_waiting::result

Definition at line 38 of file thread_pthread.h.

## ◆ timeout

uint64_t rb_thread_sched_waiting::timeout

Definition at line 35 of file thread_pthread.h.

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

- thread_pthread.h