Ruby  1.9.3p551(2014-11-13revision48407)
Data Fields
rb_thread_struct Struct Reference

#include <vm_core.h>

Data Fields

VALUE self
 
rb_vm_tvm
 
VALUEstack
 
unsigned long 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
 
VALUE top_self
 
VALUE top_wrapper
 
rb_block_tbase_block
 
VALUElocal_lfp
 
VALUE local_svar
 
rb_thread_id_t thread_id
 
enum rb_thread_status status
 
int priority
 
native_thread_data_t native_thread_data
 
void * blocking_region_buffer
 
VALUE thgroup
 
VALUE value
 
VALUE errinfo
 
VALUE thrown_errinfo
 
rb_atomic_t interrupt_flag
 
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
 
int mild_compile_error
 
st_tablelocal_storage
 
struct rb_thread_structjoin_list_next
 
struct rb_thread_structjoin_list_head
 
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_event_hook_tevent_hooks
 
rb_event_flag_t event_flags
 
int tracing
 
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 393 of file vm_core.h.

Field Documentation

◆ abort_on_exception

int rb_thread_struct::abort_on_exception

Definition at line 489 of file vm_core.h.

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

◆ base_block

rb_block_t* rb_thread_struct::base_block

◆ blocking_region_buffer

void* rb_thread_struct::blocking_region_buffer

Definition at line 432 of file vm_core.h.

Referenced by rb_thread_call_with_gvl(), and ruby_thread_has_gvl_p().

◆ cfp

rb_control_frame_t* rb_thread_struct::cfp

◆ errinfo

VALUE rb_thread_struct::errinfo

◆ event_flags

rb_event_flag_t rb_thread_struct::event_flags

◆ event_hooks

rb_event_hook_t* rb_thread_struct::event_hooks

◆ fiber

VALUE rb_thread_struct::fiber

◆ first_args

VALUE rb_thread_struct::first_args

◆ first_func

VALUE(* rb_thread_struct::first_func) (ANYARGS)

Definition at line 460 of file vm_core.h.

Referenced by thread_create_core(), and thread_start_func_2().

◆ first_proc

VALUE rb_thread_struct::first_proc

◆ interrupt_flag

rb_atomic_t rb_thread_struct::interrupt_flag

Definition at line 440 of file vm_core.h.

Referenced by rb_threadptr_execute_interrupts_common(), and set_unblock_function().

◆ interrupt_lock

rb_thread_lock_t rb_thread_struct::interrupt_lock

◆ join_list_head

struct rb_thread_struct* rb_thread_struct::join_list_head

Definition at line 456 of file vm_core.h.

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

◆ join_list_next

struct rb_thread_struct* rb_thread_struct::join_list_next

Definition at line 455 of file vm_core.h.

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

◆ keeping_mutexes

struct rb_mutex_struct* rb_thread_struct::keeping_mutexes

◆ last_status

VALUE rb_thread_struct::last_status

Definition at line 403 of file vm_core.h.

Referenced by rb_last_status_set(), rb_thread_mark(), and th_init().

◆ local_lfp

VALUE* rb_thread_struct::local_lfp

Definition at line 423 of file vm_core.h.

Referenced by lfp_svar_place(), and rb_fiber_start().

◆ local_storage

st_table* rb_thread_struct::local_storage

◆ local_svar

VALUE rb_thread_struct::local_svar

Definition at line 424 of file vm_core.h.

Referenced by lfp_svar_place(), rb_fiber_start(), and rb_thread_mark().

◆ locking_mutex

VALUE rb_thread_struct::locking_mutex

◆ machine_regs

jmp_buf rb_thread_struct::machine_regs

Definition at line 471 of file vm_core.h.

Referenced by rb_gc_save_machine_context(), and rb_thread_mark().

◆ machine_stack_end

VALUE* rb_thread_struct::machine_stack_end

◆ machine_stack_maxsize

size_t rb_thread_struct::machine_stack_maxsize

Definition at line 465 of file vm_core.h.

◆ machine_stack_start

VALUE* rb_thread_struct::machine_stack_start

◆ mark_stack_len

int rb_thread_struct::mark_stack_len

◆ method_missing_reason

int rb_thread_struct::method_missing_reason

◆ mild_compile_error

int rb_thread_struct::mild_compile_error

Definition at line 450 of file vm_core.h.

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

◆ native_thread_data

native_thread_data_t rb_thread_struct::native_thread_data

Definition at line 431 of file vm_core.h.

◆ parse_in_eval

int rb_thread_struct::parse_in_eval

Definition at line 449 of file vm_core.h.

Referenced by eval_string_with_cref(), and require_libraries().

◆ passed_block

const rb_block_t* rb_thread_struct::passed_block

◆ passed_me

const rb_method_entry_t* rb_thread_struct::passed_me

Definition at line 414 of file vm_core.h.

Referenced by invoke_block_from_c(), and vm_call_bmethod().

◆ priority

int rb_thread_struct::priority

◆ protect_tag

struct rb_vm_protect_tag* rb_thread_struct::protect_tag

Definition at line 447 of file vm_core.h.

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

◆ raised_flag

int rb_thread_struct::raised_flag

◆ root_fiber

VALUE rb_thread_struct::root_fiber

◆ root_jmpbuf

rb_jmpbuf_t rb_thread_struct::root_jmpbuf

Definition at line 485 of file vm_core.h.

Referenced by fiber_init().

◆ running_time_us

unsigned long rb_thread_struct::running_time_us

Definition at line 493 of file vm_core.h.

Referenced by rb_thread_schedule_limits(), and rb_threadptr_execute_interrupts_common().

◆ safe_level

int rb_thread_struct::safe_level

◆ self

VALUE rb_thread_struct::self

◆ stack

VALUE* rb_thread_struct::stack

◆ stack_size

unsigned long rb_thread_struct::stack_size

◆ stat_insn_usage

VALUE rb_thread_struct::stat_insn_usage

Definition at line 475 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

Definition at line 446 of file vm_core.h.

Referenced by cont_restore_thread(), fiber_init(), rb_catch_obj(), and rb_throw_obj().

◆ thgroup

VALUE rb_thread_struct::thgroup

◆ thread_id

rb_thread_id_t rb_thread_struct::thread_id

◆ thrown_errinfo

VALUE rb_thread_struct::thrown_errinfo

◆ top_self

VALUE rb_thread_struct::top_self

◆ top_wrapper

VALUE rb_thread_struct::top_wrapper

◆ tracing

int rb_thread_struct::tracing

◆ unblock

struct rb_unblock_callback rb_thread_struct::unblock

◆ value

VALUE rb_thread_struct::value

Definition at line 435 of file vm_core.h.

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

◆ vm

rb_vm_t* rb_thread_struct::vm

◆ waiting_fd

int rb_thread_struct::waiting_fd

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