Ruby  2.0.0p247(2013-06-27revision41674)
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.
int mild_compile_error
 Thread-local state of compiling context.
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

Definition at line 613 of file vm_core.h.

Referenced by rb_thread_abort_exc(), and rb_thread_abort_exc_set().

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().

Definition at line 585 of file vm_core.h.

Referenced by thread_create_core().

Definition at line 554 of file vm_core.h.

Referenced by rb_threadptr_execute_interrupts().

Definition at line 581 of file vm_core.h.

Referenced by rb_thread_atfork(), remove_from_join_list(), and thread_join().

Definition at line 596 of file vm_core.h.

Referenced by rb_thread_mark().

Definition at line 590 of file vm_core.h.

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().

Definition at line 535 of file vm_core.h.

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().

Definition at line 517 of file vm_core.h.

Referenced by GET_THREAD().

Definition at line 514 of file vm_core.h.

Referenced by invoke_block_from_c(), and vm_call_bmethod_body().

Definition at line 562 of file vm_core.h.

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

Definition at line 609 of file vm_core.h.

Referenced by fiber_init().

Definition at line 526 of file vm_core.h.

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

Definition at line 617 of file vm_core.h.

Referenced by rb_thread_schedule_limits(), and rb_threadptr_execute_interrupts().

Definition at line 600 of file vm_core.h.

Referenced by rb_thread_mark().

Definition at line 539 of file vm_core.h.

Referenced by rb_thread_mark(), and thread_value().


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