Ruby  2.4.2p198(2017-09-14revision59899)
Data Fields
rb_context_struct Struct Reference

Data Fields

enum context_type type
 
int argc
 
VALUE self
 
VALUE value
 
VALUEvm_stack
 
size_t vm_stack_slen
 
size_t vm_stack_clen
 
struct {
   VALUE *   stack
 
   VALUE *   stack_src
 
   size_t   stack_size
 
machine
 
rb_thread_t saved_thread
 
rb_jmpbuf_t jmpbuf
 
rb_ensure_entry_tensure_array
 
rb_ensure_list_tensure_list
 

Detailed Description

Definition at line 83 of file cont.c.

Field Documentation

◆ argc

int rb_context_struct::argc

Definition at line 85 of file cont.c.

Referenced by cont_capture(), fiber_store(), fiber_switch(), rb_cont_call(), and rb_fiber_start().

◆ ensure_array

rb_ensure_entry_t* rb_context_struct::ensure_array

Definition at line 105 of file cont.c.

Referenced by cont_capture(), cont_free(), and rb_cont_call().

◆ ensure_list

rb_ensure_list_t* rb_context_struct::ensure_list

Definition at line 106 of file cont.c.

◆ jmpbuf

rb_jmpbuf_t rb_context_struct::jmpbuf

Definition at line 104 of file cont.c.

Referenced by cont_capture(), cont_restore_1(), fiber_init(), and fiber_store().

◆ machine

struct { ... } rb_context_struct::machine

◆ saved_thread

rb_thread_t rb_context_struct::saved_thread

◆ self

VALUE rb_context_struct::self

Definition at line 86 of file cont.c.

Referenced by cont_capture(), cont_new(), fiber_t_alloc(), rb_fiber_current(), and rb_fiber_mark_self().

◆ stack

VALUE* rb_context_struct::stack

◆ stack_size

size_t rb_context_struct::stack_size

◆ stack_src

VALUE* rb_context_struct::stack_src

Definition at line 95 of file cont.c.

Referenced by cont_restore_0(), cont_restore_1(), and cont_save_machine_stack().

◆ type

enum context_type rb_context_struct::type

◆ value

VALUE rb_context_struct::value

◆ vm_stack

VALUE* rb_context_struct::vm_stack

Definition at line 88 of file cont.c.

Referenced by cont_capture(), cont_free(), cont_mark(), cont_memsize(), cont_restore_thread(), and fiber_init().

◆ vm_stack_clen

size_t rb_context_struct::vm_stack_clen

Definition at line 91 of file cont.c.

Referenced by cont_capture(), cont_mark(), cont_memsize(), and cont_restore_thread().

◆ vm_stack_slen

size_t rb_context_struct::vm_stack_slen

Definition at line 90 of file cont.c.

Referenced by cont_capture(), cont_mark(), cont_memsize(), and cont_restore_thread().


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