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

#include <vm_core.h>

Data Fields

struct list_node vmlt_node
 
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
 
VALUE passed_block_handler
 
const rb_callable_method_entry_tpassed_bmethod_me
 
struct rb_calling_infocalling
 
VALUE top_self
 
VALUE top_wrapper
 
const VALUEroot_lep
 
VALUE root_svar
 
rb_nativethread_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
 
VALUE pending_interrupt_mask_stack
 
int pending_interrupt_queue_checked
 
rb_atomic_t interrupt_flag
 
unsigned long interrupt_mask
 
rb_nativethread_lock_t interrupt_lock
 
rb_nativethread_cond_t interrupt_cond
 
struct rb_unblock_callback unblock
 
VALUE locking_mutex
 
struct rb_mutex_structkeeping_mutexes
 
struct rb_vm_tagtag
 
struct rb_vm_protect_tagprotect_tag
 
st_tablelocal_storage
 
VALUE local_storage_recursive_hash
 
VALUE local_storage_recursive_hash_for_trace
 
rb_thread_list_tjoin_list
 
VALUE first_proc
 
VALUE first_args
 
VALUE(* first_func )(ANYARGS)
 
struct {
   VALUE *   stack_start
 
   VALUE *   stack_end
 
   size_t   stack_maxsize
 
   jmp_buf   regs
 
machine
 
VALUE stat_insn_usage
 
rb_hook_list_t event_hooks
 
struct rb_trace_arg_structtrace_arg
 
rb_fiber_tfiber
 
rb_fiber_troot_fiber
 
rb_jmpbuf_t root_jmpbuf
 
rb_ensure_list_tensure_list
 
enum method_missing_reason method_missing_reason: 8
 
unsigned int abort_on_exception: 1
 
unsigned int report_on_exception: 1
 
unsigned long running_time_us
 
VALUE name
 

Detailed Description

Definition at line 700 of file vm_core.h.

Field Documentation

◆ abort_on_exception

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

◆ blocking_region_buffer

void* rb_thread_struct::blocking_region_buffer

◆ calling

struct rb_calling_info* rb_thread_struct::calling

Definition at line 723 of file vm_core.h.

◆ cfp

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

◆ ensure_list

rb_ensure_list_t* rb_thread_struct::ensure_list

◆ errinfo

VALUE rb_thread_struct::errinfo

◆ event_hooks

rb_hook_list_t rb_thread_struct::event_hooks

◆ fiber

rb_fiber_t* rb_thread_struct::fiber

◆ first_args

VALUE rb_thread_struct::first_args

◆ first_func

VALUE(* rb_thread_struct::first_func) (ANYARGS)

Definition at line 781 of file vm_core.h.

Referenced by rb_thread_inspect(), thread_create_core(), and thread_do_start().

◆ first_proc

VALUE rb_thread_struct::first_proc

◆ interrupt_cond

rb_nativethread_cond_t rb_thread_struct::interrupt_cond

◆ interrupt_flag

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

◆ interrupt_lock

rb_nativethread_lock_t rb_thread_struct::interrupt_lock

◆ interrupt_mask

unsigned long rb_thread_struct::interrupt_mask

◆ join_list

rb_thread_list_t* rb_thread_struct::join_list

◆ keeping_mutexes

struct rb_mutex_struct* rb_thread_struct::keeping_mutexes

◆ last_status

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

◆ local_storage

st_table* rb_thread_struct::local_storage

◆ local_storage_recursive_hash

VALUE rb_thread_struct::local_storage_recursive_hash

◆ local_storage_recursive_hash_for_trace

VALUE rb_thread_struct::local_storage_recursive_hash_for_trace

◆ locking_mutex

VALUE rb_thread_struct::locking_mutex

◆ machine

struct { ... } rb_thread_struct::machine

◆ method_missing_reason

enum method_missing_reason rb_thread_struct::method_missing_reason

◆ name

VALUE rb_thread_struct::name

◆ native_thread_data

native_thread_data_t rb_thread_struct::native_thread_data

Definition at line 742 of file vm_core.h.

◆ passed_block_handler

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

◆ passed_bmethod_me

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

◆ pending_interrupt_mask_stack

VALUE rb_thread_struct::pending_interrupt_mask_stack

◆ pending_interrupt_queue

VALUE rb_thread_struct::pending_interrupt_queue

◆ pending_interrupt_queue_checked

int rb_thread_struct::pending_interrupt_queue_checked

◆ priority

int rb_thread_struct::priority

◆ protect_tag

struct rb_vm_protect_tag* rb_thread_struct::protect_tag

◆ raised_flag

int rb_thread_struct::raised_flag

◆ regs

jmp_buf rb_thread_struct::regs

Definition at line 793 of file vm_core.h.

Referenced by rb_thread_mark().

◆ report_on_exception

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

◆ root_fiber

rb_fiber_t* rb_thread_struct::root_fiber

◆ root_jmpbuf

rb_jmpbuf_t rb_thread_struct::root_jmpbuf

Definition at line 806 of file vm_core.h.

Referenced by fiber_init().

◆ root_lep

const VALUE* rb_thread_struct::root_lep

◆ root_svar

VALUE rb_thread_struct::root_svar

◆ running_time_us

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

◆ safe_level

int rb_thread_struct::safe_level

◆ self

VALUE rb_thread_struct::self

◆ stack

VALUE* rb_thread_struct::stack

◆ stack_end

VALUE* rb_thread_struct::stack_end

◆ stack_maxsize

size_t rb_thread_struct::stack_maxsize

Definition at line 787 of file vm_core.h.

Referenced by cont_init(), and cont_restore_thread().

◆ stack_size

size_t rb_thread_struct::stack_size

◆ stack_start

VALUE* rb_thread_struct::stack_start

◆ stat_insn_usage

VALUE rb_thread_struct::stat_insn_usage

Definition at line 797 of file vm_core.h.

Referenced by rb_thread_mark().

◆ state

int rb_thread_struct::state

◆ status

enum rb_thread_status rb_thread_struct::status

◆ tag

struct rb_vm_tag* rb_thread_struct::tag

◆ thgroup

VALUE rb_thread_struct::thgroup

◆ thread_id

rb_nativethread_id_t rb_thread_struct::thread_id

Definition at line 734 of file vm_core.h.

Referenced by rb_thread_setname().

◆ to_kill

int rb_thread_struct::to_kill

◆ top_self

VALUE rb_thread_struct::top_self

◆ top_wrapper

VALUE rb_thread_struct::top_wrapper

◆ trace_arg

struct rb_trace_arg_struct* rb_thread_struct::trace_arg

◆ unblock

struct rb_unblock_callback rb_thread_struct::unblock

◆ value

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

◆ vm

rb_vm_t* rb_thread_struct::vm

◆ vmlt_node

struct list_node rb_thread_struct::vmlt_node

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