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

Public Member Functions

 BITFIELD (enum fiber_status, status, 2)

Data Fields

rb_context_t cont
VALUE first_proc
struct rb_fiber_structprev
struct rb_fiber_structresuming_fiber
unsigned int yielding: 1
unsigned int blocking: 1
unsigned int killed: 1
struct coroutine_context context
struct fiber_pool_stack stack

Detailed Description

Definition at line 258 of file cont.c.

Field Documentation

◆ blocking

unsigned int rb_fiber_struct::blocking

Definition at line 267 of file cont.c.

◆ cont

rb_context_t rb_fiber_struct::cont

Definition at line 259 of file cont.c.

◆ context

struct coroutine_context rb_fiber_struct::context

Definition at line 271 of file cont.c.

◆ first_proc

VALUE rb_fiber_struct::first_proc

Definition at line 260 of file cont.c.

◆ killed

unsigned int rb_fiber_struct::killed

Definition at line 269 of file cont.c.

◆ prev

struct rb_fiber_struct* rb_fiber_struct::prev

Definition at line 261 of file cont.c.

◆ resuming_fiber

struct rb_fiber_struct* rb_fiber_struct::resuming_fiber

Definition at line 262 of file cont.c.

◆ stack

struct fiber_pool_stack rb_fiber_struct::stack

Definition at line 272 of file cont.c.

◆ yielding

unsigned int rb_fiber_struct::yielding

Definition at line 266 of file cont.c.


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