Ruby: rb_fiber_struct Struct Reference

Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)

Public Member Functions | Data Fields
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_struct * | prev
struct rb_fiber_struct * | resuming_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 259 of file cont.c.

## Field Documentation

## ◆ blocking

unsigned int rb_fiber_struct::blocking

Definition at line 268 of file cont.c.

## ◆ cont

rb_context_t rb_fiber_struct::cont

Definition at line 260 of file cont.c.

## ◆ context

struct coroutine_context rb_fiber_struct::context

Definition at line 272 of file cont.c.

## ◆ first_proc

VALUE rb_fiber_struct::first_proc

Definition at line 261 of file cont.c.

## ◆ killed

unsigned int rb_fiber_struct::killed

Definition at line 270 of file cont.c.

## ◆ prev

struct rb_fiber_struct* rb_fiber_struct::prev

Definition at line 262 of file cont.c.

## ◆ resuming_fiber

struct rb_fiber_struct* rb_fiber_struct::resuming_fiber

Definition at line 263 of file cont.c.

## ◆ stack

struct fiber_pool_stack rb_fiber_struct::stack

Definition at line 273 of file cont.c.

## ◆ yielding

unsigned int rb_fiber_struct::yielding

Definition at line 267 of file cont.c.

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

- cont.c