Ruby
2.4.2p198(2017-09-14revision59899)
|
#include <vm_core.h>
unsigned int rb_thread_struct::abort_on_exception |
Definition at line 813 of file vm_core.h.
Referenced by rb_thread_abort_exc(), and rb_thread_abort_exc_set().
void* rb_thread_struct::blocking_region_buffer |
Definition at line 743 of file vm_core.h.
Referenced by blocking_region_begin(), rb_thread_call_with_gvl(), and ruby_thread_has_gvl_p().
struct rb_calling_info* rb_thread_struct::calling |
rb_control_frame_t* rb_thread_struct::cfp |
Definition at line 708 of file vm_core.h.
Referenced by backtrace_each(), caller_location(), check_block_handler(), check_funcall_callable(), cont_capture(), cont_restore_thread(), cont_save_thread(), current_vm_stack_arg(), errinfo_place(), eval_string_with_cref(), fiber_init(), gc_event_hook_body(), hook_before_rewind(), Init_VM(), invoke_block(), invoke_bmethod(), invoke_iseq_block_from_c(), method_definition_set(), name_err_initialize(), pass_passed_block_handler(), previous_frame(), proc_new(), raise_argument_error(), rb_binding_add_dynavars(), rb_binding_new(), rb_block_arity(), rb_block_given_p(), rb_block_min_max_arity(), rb_call(), rb_current_realfilepath(), rb_current_receiver(), rb_debug_inspector_open(), rb_f_block_given_p(), rb_frame_last_func(), rb_iterate0(), rb_mod_define_method(), rb_mod_refine(), rb_profile_frames(), rb_protect(), rb_raise_jump(), rb_rescue2(), rb_scope_module_func_check(), rb_scope_visibility_get(), rb_source_location(), 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_cref_in_context(), rb_vm_cref_replace_with_duplicated_cref(), rb_vm_frame_block_handler(), rb_vm_get_insns_address_table(), rb_vm_pop_cfunc_frame(), rb_vm_pop_frame(), rb_vm_rewind_cfp(), 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(), ruby_exec_event_hook_orig(), run_finalizer(), send_internal(), setup_exception(), setup_parameters_complex(), th_init(), update_coverage(), vm_call0(), vm_call0_body(), vm_call0_cfunc_with_frame(), vm_call_cfunc_with_frame(), vm_call_iseq_setup_tailcall(), vm_call_super(), vm_callee_setup_arg(), vm_callee_setup_block_arg(), vm_catch_protect(), vm_cref_push(), vm_exec(), vm_exec_core(), vm_get_ev_const(), vm_invoke_ifunc_block(), vm_invoke_symbol_block(), vm_iter_break(), vm_make_proc_with_iseq(), vm_pop_frame(), vm_push_frame(), vm_set_eval_stack(), vm_set_main_stack(), vm_set_top_stack(), vm_svar_get(), vm_svar_set(), vm_yield_with_cfunc(), and yield_under().
rb_ensure_list_t* rb_thread_struct::ensure_list |
Definition at line 809 of file vm_core.h.
Referenced by cont_capture(), cont_restore_thread(), cont_save_thread(), rb_cont_call(), and rb_ensure().
VALUE rb_thread_struct::errinfo |
Definition at line 749 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), error_handle(), error_print(), eval_string_with_cref(), get_thread_errinfo(), rb_ensure(), rb_errinfo(), rb_exec_end_proc(), rb_fiber_start(), rb_iseq_compile_with_option(), rb_iterate0(), rb_load_internal(), rb_load_internal0(), rb_postponed_job_flush(), rb_require_internal(), rb_rescue2(), rb_thread_mark(), rb_thread_status(), rb_threadptr_error_print(), rb_threadptr_exec_event_hooks_orig(), rb_threadptr_to_kill(), rb_throw_obj(), rb_vm_get_insns_address_table(), ruby_cleanup(), ruby_thread_stack_overflow(), setup_exception(), th_init(), thread_do_start(), thread_join(), vm_catch_protect(), vm_exec(), and vm_iter_break().
rb_hook_list_t rb_thread_struct::event_hooks |
Definition at line 800 of file vm_core.h.
Referenced by rb_thread_mark(), rb_threadptr_add_event_hook(), rb_threadptr_exec_event_hooks_orig(), rb_threadptr_remove_event_hook(), and ruby_exec_event_hook_orig().
rb_fiber_t* rb_thread_struct::fiber |
Definition at line 804 of file vm_core.h.
Referenced by cont_free(), cont_init(), cont_mark(), cont_restore_thread(), fiber_current(), fiber_store(), fiber_switch(), rb_cont_call(), rb_fiber_reset_root_local_storage(), rb_fiber_start(), rb_thread_mark(), and root_fiber_alloc().
VALUE rb_thread_struct::first_args |
Definition at line 780 of file vm_core.h.
Referenced by rb_thread_mark(), thread_create_core(), thread_initialize(), and thread_start_func_2().
Definition at line 781 of file vm_core.h.
Referenced by rb_thread_inspect(), thread_create_core(), and thread_do_start().
VALUE rb_thread_struct::first_proc |
Definition at line 779 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), fiber_init(), rb_fiber_start(), rb_thread_inspect(), rb_thread_mark(), thread_create_core(), thread_do_start(), and thread_initialize().
rb_nativethread_cond_t rb_thread_struct::interrupt_cond |
Definition at line 764 of file vm_core.h.
Referenced by Init_Thread(), rb_threadptr_interrupt_common(), ruby_kill(), and thread_create_core().
rb_atomic_t rb_thread_struct::interrupt_flag |
Definition at line 761 of file vm_core.h.
Referenced by debug_deadlock_check(), and threadptr_get_interrupts().
rb_nativethread_lock_t rb_thread_struct::interrupt_lock |
Definition at line 763 of file vm_core.h.
Referenced by Init_Thread(), rb_threadptr_interrupt_common(), reset_unblock_function(), ruby_kill(), set_unblock_function(), thread_cleanup_func(), and thread_create_core().
unsigned long rb_thread_struct::interrupt_mask |
Definition at line 762 of file vm_core.h.
Referenced by Init_Thread(), rb_mutex_lock(), rb_postponed_job_flush(), rb_uninterruptible(), signal_exec(), thread_create_core(), and threadptr_get_interrupts().
rb_thread_list_t* rb_thread_struct::join_list |
Definition at line 777 of file vm_core.h.
Referenced by debug_deadlock_check(), rb_thread_start_timer_thread(), remove_from_join_list(), and thread_join().
struct rb_mutex_struct* rb_thread_struct::keeping_mutexes |
Definition at line 767 of file vm_core.h.
Referenced by mutex_locked(), rb_mutex_unlock(), rb_mutex_unlock_th(), rb_threadptr_unlock_all_locking_mutexes(), and thread_free().
VALUE rb_thread_struct::last_status |
Definition at line 711 of file vm_core.h.
Referenced by rb_last_status_set(), rb_thread_mark(), and th_init().
st_table* rb_thread_struct::local_storage |
Definition at line 773 of file vm_core.h.
Referenced by cont_init(), cont_restore_thread(), cont_save_thread(), fiber_free(), fiber_init(), fiber_memsize(), rb_fiber_reset_root_local_storage(), rb_thread_key_p(), rb_thread_keys(), rb_thread_mark(), thread_free(), thread_memsize(), threadptr_local_aref(), and threadptr_local_aset().
VALUE rb_thread_struct::local_storage_recursive_hash |
Definition at line 774 of file vm_core.h.
Referenced by cont_init(), cont_restore_thread(), fiber_init(), rb_thread_mark(), rb_threadptr_exec_event_hooks_orig(), th_init(), threadptr_local_aref(), threadptr_local_aset(), threadptr_recursive_hash(), and threadptr_recursive_hash_set().
VALUE rb_thread_struct::local_storage_recursive_hash_for_trace |
Definition at line 775 of file vm_core.h.
Referenced by cont_init(), cont_restore_thread(), fiber_init(), rb_thread_mark(), rb_threadptr_exec_event_hooks_orig(), and th_init().
VALUE rb_thread_struct::locking_mutex |
Definition at line 766 of file vm_core.h.
Referenced by debug_deadlock_check(), rb_check_deadlock(), rb_mutex_lock(), rb_mutex_unlock(), rb_thread_mark(), thread_cleanup_func(), and thread_free().
struct { ... } rb_thread_struct::machine |
enum method_missing_reason rb_thread_struct::method_missing_reason |
Definition at line 812 of file vm_core.h.
Referenced by check_funcall_missing(), method_missing(), rb_method_missing(), send_internal(), vm_call_method_missing(), and vm_call_opt_send().
VALUE rb_thread_struct::name |
Definition at line 819 of file vm_core.h.
Referenced by rb_thread_getname(), rb_thread_inspect(), rb_thread_mark(), rb_thread_setname(), and th_init().
native_thread_data_t rb_thread_struct::native_thread_data |
VALUE rb_thread_struct::passed_block_handler |
Definition at line 717 of file vm_core.h.
Referenced by vm_passed_block_handler(), and vm_passed_block_handler_set().
const rb_callable_method_entry_t* rb_thread_struct::passed_bmethod_me |
Definition at line 720 of file vm_core.h.
Referenced by invoke_iseq_block_from_c(), vm_call_bmethod_body(), and vm_yield_with_cfunc().
VALUE rb_thread_struct::pending_interrupt_mask_stack |
Definition at line 758 of file vm_core.h.
Referenced by Init_Thread(), rb_thread_mark(), rb_thread_s_handle_interrupt(), rb_threadptr_pending_interrupt_check_mask(), rb_uninterruptible(), and thread_create_core().
VALUE rb_thread_struct::pending_interrupt_queue |
Definition at line 757 of file vm_core.h.
Referenced by Init_Thread(), rb_thread_mark(), rb_thread_pending_interrupt_p(), rb_threadptr_pending_interrupt_clear(), rb_threadptr_pending_interrupt_deque(), rb_threadptr_pending_interrupt_empty_p(), rb_threadptr_pending_interrupt_enque(), rb_threadptr_pending_interrupt_include_p(), thread_create_core(), and threadptr_check_pending_interrupt_queue().
int rb_thread_struct::pending_interrupt_queue_checked |
Definition at line 759 of file vm_core.h.
Referenced by Init_Thread(), rb_thread_s_handle_interrupt(), rb_threadptr_pending_interrupt_active_p(), rb_threadptr_pending_interrupt_deque(), rb_threadptr_pending_interrupt_enque(), thread_create_core(), and vm_check_ints_blocking().
int rb_thread_struct::priority |
Definition at line 740 of file vm_core.h.
Referenced by rb_thread_priority(), rb_thread_priority_set(), rb_threadptr_execute_interrupts(), and thread_create_core().
struct rb_vm_protect_tag* rb_thread_struct::protect_tag |
Definition at line 770 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), fiber_switch(), rb_cont_call(), and rb_protect().
int rb_thread_struct::raised_flag |
Definition at line 710 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), rb_threadptr_error_print(), rb_threadptr_execute_interrupts(), rb_threadptr_reset_raised(), rb_threadptr_set_raised(), and ruby_thread_stack_overflow().
jmp_buf rb_thread_struct::regs |
Definition at line 793 of file vm_core.h.
Referenced by rb_thread_mark().
unsigned int rb_thread_struct::report_on_exception |
Definition at line 814 of file vm_core.h.
Referenced by rb_thread_report_exc(), rb_thread_report_exc_set(), and thread_create_core().
rb_fiber_t* rb_thread_struct::root_fiber |
Definition at line 805 of file vm_core.h.
Referenced by cont_restore_thread(), fiber_switch(), rb_fiber_reset_root_local_storage(), rb_thread_mark(), root_fiber_alloc(), thread_free(), and thread_memsize().
rb_jmpbuf_t rb_thread_struct::root_jmpbuf |
Definition at line 806 of file vm_core.h.
Referenced by fiber_init().
Definition at line 730 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), lep_svar(), lep_svar_write(), rb_fiber_start(), and thread_do_start().
VALUE rb_thread_struct::root_svar |
Definition at line 731 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), lep_svar(), lep_svar_write(), rb_fiber_start(), rb_thread_mark(), ruby_thread_init(), th_init(), and thread_do_start().
unsigned long rb_thread_struct::running_time_us |
Definition at line 818 of file vm_core.h.
Referenced by rb_thread_schedule_limits(), and rb_threadptr_execute_interrupts().
int rb_thread_struct::safe_level |
Definition at line 709 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), rb_set_safe_level(), rb_thread_safe_level(), rb_vm_make_proc_lambda(), ruby_cleanup(), safe_setter(), and vm_invoke_proc().
VALUE rb_thread_struct::self |
Definition at line 702 of file vm_core.h.
Referenced by cont_init(), cont_mark(), debug_deadlock_check(), fiber_switch(), Init_VM(), lep_svar_write(), rb_cont_call(), rb_fiber_start(), rb_thread_exit(), rb_thread_list(), rb_tracepoint_disable(), rb_tracepoint_enable(), rb_vm_mark(), ruby_vm_destruct(), th_init(), thgroup_list(), thread_do_start(), thread_join(), and tp_mark().
VALUE* rb_thread_struct::stack |
Definition at line 706 of file vm_core.h.
Referenced by cont_capture(), cont_free(), cont_restore_thread(), cont_save_thread(), control_frame_dump(), fiber_current(), fiber_init(), previous_frame(), rb_thread_mark(), rb_vm_frame_block_handler(), rb_vm_set_progname(), rb_vmdebug_debug_print_pre(), rb_vmdebug_debug_print_register(), rb_vmdebug_stack_dump_raw(), rb_vmdebug_stack_dump_th(), th_init(), and thread_free().
VALUE* rb_thread_struct::stack_end |
Definition at line 786 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_machine_stack(), cont_save_thread(), Init_Cont(), rb_thread_mark(), and thread_cleanup_func_before_exec().
size_t rb_thread_struct::stack_maxsize |
Definition at line 787 of file vm_core.h.
Referenced by cont_init(), and cont_restore_thread().
size_t rb_thread_struct::stack_size |
Definition at line 707 of file vm_core.h.
Referenced by cont_capture(), cont_mark(), cont_memsize(), cont_restore_thread(), cont_save_thread(), control_frame_dump(), fiber_init(), previous_frame(), rb_thread_mark(), rb_vm_frame_block_handler(), rb_vm_set_progname(), rb_vmdebug_debug_print_register(), rb_vmdebug_stack_dump_raw(), th_init(), and thread_memsize().
VALUE* rb_thread_struct::stack_start |
Definition at line 785 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_machine_stack(), cont_save_thread(), rb_thread_mark(), thread_cleanup_func_before_exec(), and thread_start_func_2().
VALUE rb_thread_struct::stat_insn_usage |
Definition at line 797 of file vm_core.h.
Referenced by rb_thread_mark().
int rb_thread_struct::state |
Definition at line 714 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), rb_iterate0(), rb_suppress_tracing(), rb_threadptr_exec_event_hooks_orig(), rb_threadptr_tag_jump(), rb_threadptr_tag_state(), vm_exec(), vm_iter_break(), vm_throw_continue(), and vm_throw_start().
enum rb_thread_status rb_thread_struct::status |
Definition at line 738 of file vm_core.h.
Referenced by blocking_region_begin(), cont_restore_thread(), cont_save_thread(), rb_check_deadlock(), rb_mutex_lock(), rb_thread_kill(), rb_thread_list(), rb_thread_stop_p(), rb_thread_to_be_killed(), rb_thread_wakeup_alive(), rb_threadptr_dead(), rb_threadptr_execute_interrupts(), rb_threadptr_to_kill(), remove_from_join_list(), ruby_cleanup(), sleep_forever(), sleep_timeval(), th_init(), thread_backtrace_to_ary(), thread_cleanup_func_before_exec(), thread_create_core(), thread_join(), thread_join_sleep(), thread_start_func_2(), and thread_status_name().
struct rb_vm_tag* rb_thread_struct::tag |
Definition at line 769 of file vm_core.h.
Referenced by cont_restore_thread(), cont_save_thread(), fiber_init(), rb_threadptr_exec_event_hooks_orig(), rb_threadptr_tag_jump(), rb_throw_obj(), and vm_catch_protect().
VALUE rb_thread_struct::thgroup |
Definition at line 745 of file vm_core.h.
Referenced by Init_Thread(), rb_thread_group(), rb_thread_mark(), thgroup_add(), thgroup_list(), and thread_create_core().
rb_nativethread_id_t rb_thread_struct::thread_id |
Definition at line 734 of file vm_core.h.
Referenced by rb_thread_setname().
int rb_thread_struct::to_kill |
Definition at line 739 of file vm_core.h.
Referenced by rb_thread_kill(), rb_thread_to_be_killed(), rb_threadptr_to_kill(), thread_backtrace_to_ary(), and thread_status_name().
VALUE rb_thread_struct::top_self |
Definition at line 726 of file vm_core.h.
Referenced by Init_VM(), rb_eval_string_wrap(), rb_load_internal0(), rb_thread_mark(), ruby_thread_init(), and vm_set_top_stack().
VALUE rb_thread_struct::top_wrapper |
Definition at line 727 of file vm_core.h.
Referenced by Init_VM(), rb_eval_string_wrap(), rb_load_internal0(), rb_set_end_proc(), rb_thread_mark(), ruby_thread_init(), top_define_method(), top_include(), and vm_cref_new_toplevel().
struct rb_trace_arg_struct* rb_thread_struct::trace_arg |
Definition at line 801 of file vm_core.h.
Referenced by cont_save_thread(), fiber_switch(), rb_cont_call(), rb_suppress_tracing(), and rb_threadptr_exec_event_hooks_orig().
struct rb_unblock_callback rb_thread_struct::unblock |
Definition at line 765 of file vm_core.h.
Referenced by rb_thread_call_with_gvl(), rb_threadptr_interrupt_common(), reset_unblock_function(), and set_unblock_function().
VALUE rb_thread_struct::value |
Definition at line 746 of file vm_core.h.
Referenced by rb_thread_mark(), thread_do_start(), and thread_value().
rb_vm_t* rb_thread_struct::vm |
Definition at line 703 of file vm_core.h.
Referenced by blocking_region_end(), cont_restore_thread(), exec_hooks_precheck(), fiber_init(), gc_mark_roots(), Init_BareVM(), Init_postponed_job(), Init_Thread(), Init_VM(), location_to_str(), oldbt_init(), rb_gc_mark_machine_stack(), rb_memerror(), rb_mutex_lock(), rb_notify_fd_close(), rb_postponed_job_register(), rb_postponed_job_register_one(), rb_suppress_tracing(), rb_thread_kill(), rb_thread_schedule_limits(), rb_thread_start_timer_thread(), rb_thread_terminate_all(), rb_threadptr_exec_event_hooks_orig(), rb_threadptr_execute_interrupts(), rb_threadptr_signal_exit(), rb_threadptr_signal_raise(), ruby_exec_event_hook_orig(), ruby_thread_init(), sleep_forever(), special_exception_p(), th_init(), thread_create_core(), thread_free(), and thread_start_func_2().
struct list_node rb_thread_struct::vmlt_node |
Definition at line 701 of file vm_core.h.
Referenced by rb_check_deadlock(), rb_vm_living_threads_insert(), and rb_vm_living_threads_remove().