Ruby: coroutine_context Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
coroutine_context Struct Reference

`#include <Context.h>`

## Data Fields
void ** | stack_pointer
void * | stack
size_t | size
size_t | used
void * | base
jmp_buf | state
struct coroutine_context * | from
ucontext_t | state

## Detailed Description

Definition at line 19 of file Context.h.

## Field Documentation

## ◆ base

void* coroutine_context::base

Definition at line 37 of file Context.h.

Referenced by __attribute__(), and coroutine_transfer().

## ◆ from

struct coroutine_context * coroutine_context::from

Definition at line 41 of file Context.h.

Referenced by coroutine_trampoline(), and coroutine_transfer().

## ◆ size

size_t coroutine_context::size

Definition at line 34 of file Context.h.

## ◆ stack

void* coroutine_context::stack

Definition at line 33 of file Context.h.

Referenced by __attribute__(), and coroutine_transfer().

## ◆ stack_pointer

void ** coroutine_context::stack_pointer

Definition at line 21 of file Context.h.

## ◆ state [1/2]

jmp_buf coroutine_context::state

Definition at line 39 of file Context.h.

Referenced by __attribute__(), and coroutine_save_stack().

## ◆ state [2/2]

ucontext_t coroutine_context::state

Definition at line 22 of file Context.h.

## ◆ used

size_t coroutine_context::used

Definition at line 34 of file Context.h.

Referenced by __attribute__().

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

- coroutine/amd64/Context.h
- coroutine/arm32/Context.h
- coroutine/arm64/Context.h
- coroutine/copy/Context.h
- coroutine/ppc64le/Context.h
- coroutine/ucontext/Context.h
- coroutine/win32/Context.h
- coroutine/win64/Context.h
- coroutine/x86/Context.h