Ruby  2.0.0p353(2013-11-22revision43784)
Data Fields
rb_thread_struct Struct Reference

#include <vm_core.h>

Data Fields

VALUE self
 
rb_vm_tvm
 
VALUEstack
 
size_t stack_size
 
rb_control_frame_tcfp
 
int safe_level
 
int raised_flag
 
VALUE last_status
 
int state
 
int waiting_fd
 
const rb_block_tpassed_block
 
const rb_method_entry_tpassed_me
 
rb_call_info_tpassed_ci
 
VALUE top_self
 
VALUE top_wrapper
 
rb_block_tbase_block
 
VALUEroot_lep
 
VALUE root_svar
 
rb_thread_id_t thread_id
 
enum rb_thread_status status
 
int to_kill
 
int priority
 
native_thread_data_t native_thread_data
 
void * blocking_region_buffer
 
VALUE thgroup
 
VALUE value
 
VALUE errinfo
 
VALUE pending_interrupt_queue
 
int pending_interrupt_queue_checked
 
VALUE pending_interrupt_mask_stack
 
rb_atomic_t interrupt_flag
 
unsigned long interrupt_mask
 
rb_thread_lock_t interrupt_lock
 
struct rb_unblock_callback unblock
 
VALUE locking_mutex
 
struct rb_mutex_structkeeping_mutexes
 
struct rb_vm_tagtag
 
struct rb_vm_protect_tagprotect_tag
 
int parse_in_eval
 Thread-local state of evaluation context. More...
 
int mild_compile_error
 Thread-local state of compiling context. More...
 
st_tablelocal_storage
 
rb_thread_list_tjoin_list
 
VALUE first_proc
 
VALUE first_args
 
VALUE(* first_func )(ANYARGS)
 
VALUEmachine_stack_start
 
VALUEmachine_stack_end
 
size_t machine_stack_maxsize
 
jmp_buf machine_regs
 
int mark_stack_len
 
VALUE stat_insn_usage
 
rb_hook_list_t event_hooks
 
struct rb_trace_arg_structtrace_arg
 
VALUE fiber
 
VALUE root_fiber
 
rb_jmpbuf_t root_jmpbuf
 
int method_missing_reason
 
int abort_on_exception
 
unsigned long running_time_us
 

Detailed Description

Definition at line 493 of file vm_core.h.

Field Documentation

int rb_thread_struct::abort_on_exception

Definition at line 613 of file vm_core.h.

Referenced by rb_thread_abort_exc(), rb_thread_abort_exc_set(), and thread_start_func_2().

rb_block_t* rb_thread_struct::base_block
void* rb_thread_struct::blocking_region_buffer
rb_control_frame_t* rb_thread_struct::cfp

Definition at line 500 of file vm_core.h.

Referenced by backtrace_each(), check_block(), check_funcall_callable(), cont_capture(), cont_restore_thread(), errinfo_place(), eval_string_with_cref(), fiber_init(), Init_VM(), invoke_block_from_c(), m_core_set_postexe(), previous_frame(), proc_new(), raise_method_missing(), rb_add_method(), rb_binding_new(), rb_block_given_p(), rb_call(), rb_catch_obj(), rb_current_realfilepath(), rb_debug_inspector_open(), rb_f_block_given_p(), rb_f_local_variables(), rb_frame_pop(), rb_iterate(), rb_mod_refine(), rb_protect(), rb_raise_jump(), rb_rescue2(), rb_sourcefile(), rb_sourcefilename(), rb_sourceline(), rb_thread_current_status(), rb_thread_mark(), rb_thread_method_id_and_class(), rb_threadptr_exec_event_hooks_orig(), rb_threadptr_execute_interrupts(), rb_vm_call_cfunc(), rb_vm_cbase(), rb_vm_cref(), rb_vm_stack_to_heap(), rb_vmdebug_debug_print_post(), rb_vmdebug_debug_print_register(), rb_vmdebug_stack_dump_raw_current(), rb_vmdebug_stack_dump_th(), rb_vmdebug_thread_dump_state(), rb_yield_refine_block(), send_internal(), setup_exception(), th_init(), update_coverage(), vm_call0_body(), vm_call0_cfunc_with_frame(), vm_call_cfunc_with_frame(), vm_call_iseq_setup_tailcall(), vm_call_super(), vm_cref_push(), vm_exec(), vm_exec_core(), vm_get_ev_const(), vm_iter_break(), vm_pop_frame(), vm_push_frame(), vm_rewrite_ep_in_errinfo(), vm_set_eval_stack(), vm_set_main_stack(), vm_set_top_stack(), vm_svar_get(), vm_svar_set(), vm_yield_setup_block_args(), vm_yield_with_cfunc(), and yield_under().

VALUE rb_thread_struct::errinfo
rb_hook_list_t rb_thread_struct::event_hooks
VALUE rb_thread_struct::fiber
VALUE rb_thread_struct::first_args
VALUE(* rb_thread_struct::first_func) (ANYARGS)

Definition at line 585 of file vm_core.h.

Referenced by thread_create_core(), and thread_start_func_2().

VALUE rb_thread_struct::first_proc
rb_atomic_t rb_thread_struct::interrupt_flag

Definition at line 554 of file vm_core.h.

Referenced by rb_threadptr_execute_interrupts().

rb_thread_lock_t rb_thread_struct::interrupt_lock
unsigned long rb_thread_struct::interrupt_mask
rb_thread_list_t* rb_thread_struct::join_list
struct rb_mutex_struct* rb_thread_struct::keeping_mutexes
VALUE rb_thread_struct::last_status
st_table* rb_thread_struct::local_storage
VALUE rb_thread_struct::locking_mutex
jmp_buf rb_thread_struct::machine_regs

Definition at line 596 of file vm_core.h.

Referenced by rb_thread_mark().

VALUE* rb_thread_struct::machine_stack_end
size_t rb_thread_struct::machine_stack_maxsize

Definition at line 590 of file vm_core.h.

VALUE* rb_thread_struct::machine_stack_start
int rb_thread_struct::mark_stack_len
int rb_thread_struct::method_missing_reason
int rb_thread_struct::mild_compile_error

Thread-local state of compiling context.

If non-zero, the parser does not automatically print error messages to stderr.

Definition at line 576 of file vm_core.h.

Referenced by compile_err_append(), eval_string_with_cref(), and rb_load_internal().

native_thread_data_t rb_thread_struct::native_thread_data

Definition at line 535 of file vm_core.h.

int rb_thread_struct::parse_in_eval

Thread-local state of evaluation context.

If negative, this thread is evaluating the main program. If positive, this thread is evaluating a program under Kernel::eval family.

Definition at line 570 of file vm_core.h.

Referenced by eval_string_with_cref(), prepare_iseq_build(), rb_parse_in_eval(), rb_parse_in_main(), and require_libraries().

const rb_block_t* rb_thread_struct::passed_block
rb_call_info_t* rb_thread_struct::passed_ci

Definition at line 517 of file vm_core.h.

Referenced by GET_THREAD().

const rb_method_entry_t* rb_thread_struct::passed_me

Definition at line 514 of file vm_core.h.

Referenced by invoke_block_from_c(), and vm_call_bmethod_body().

VALUE rb_thread_struct::pending_interrupt_mask_stack
VALUE rb_thread_struct::pending_interrupt_queue
int rb_thread_struct::pending_interrupt_queue_checked
int rb_thread_struct::priority
struct rb_vm_protect_tag* rb_thread_struct::protect_tag

Definition at line 562 of file vm_core.h.

Referenced by cont_restore_thread(), fiber_switch(), rb_cont_call(), and rb_protect().

int rb_thread_struct::raised_flag
VALUE rb_thread_struct::root_fiber
rb_jmpbuf_t rb_thread_struct::root_jmpbuf

Definition at line 609 of file vm_core.h.

Referenced by fiber_init().

VALUE* rb_thread_struct::root_lep

Definition at line 526 of file vm_core.h.

Referenced by cont_restore_thread(), lep_svar_place(), and rb_fiber_start().

VALUE rb_thread_struct::root_svar
unsigned long rb_thread_struct::running_time_us

Definition at line 617 of file vm_core.h.

Referenced by rb_thread_schedule_limits(), and rb_threadptr_execute_interrupts().

int rb_thread_struct::safe_level
VALUE rb_thread_struct::self
VALUE* rb_thread_struct::stack
size_t rb_thread_struct::stack_size
VALUE rb_thread_struct::stat_insn_usage

Definition at line 600 of file vm_core.h.

Referenced by rb_thread_mark().

int rb_thread_struct::state
enum rb_thread_status rb_thread_struct::status
struct rb_vm_tag* rb_thread_struct::tag
VALUE rb_thread_struct::thgroup
rb_thread_id_t rb_thread_struct::thread_id
int rb_thread_struct::to_kill
VALUE rb_thread_struct::top_self
VALUE rb_thread_struct::top_wrapper
struct rb_trace_arg_struct* rb_thread_struct::trace_arg
struct rb_unblock_callback rb_thread_struct::unblock
VALUE rb_thread_struct::value

Definition at line 539 of file vm_core.h.

Referenced by rb_thread_mark(), thread_start_func_2(), and thread_value().

rb_vm_t* rb_thread_struct::vm
int rb_thread_struct::waiting_fd

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