Ruby: rb_fiber_struct Struct Reference

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

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
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 269 of file cont.c.

## ◆ first_proc

VALUE rb_fiber_struct::first_proc

Definition at line 260 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 270 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:

- cont.c