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

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

rb_block_t* rb_thread_struct::base_block
void* rb_thread_struct::blocking_region_buffer

Definition at line 432 of file vm_core.h.

Referenced by blocking_region_end(), rb_thread_call_with_gvl(), and ruby_thread_has_gvl_p().

rb_control_frame_t* rb_thread_struct::cfp
VALUE rb_thread_struct::errinfo
rb_event_flag_t rb_thread_struct::event_flags
rb_event_hook_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 460 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 440 of file vm_core.h.

Referenced by rb_threadptr_execute_interrupts_common(), and set_unblock_function().

rb_thread_lock_t rb_thread_struct::interrupt_lock
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().

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

struct rb_mutex_struct* rb_thread_struct::keeping_mutexes
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().

VALUE* rb_thread_struct::local_lfp

Definition at line 423 of file vm_core.h.

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

st_table* rb_thread_struct::local_storage
VALUE rb_thread_struct::local_svar

Definition at line 424 of file vm_core.h.

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

VALUE rb_thread_struct::locking_mutex
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().

VALUE* rb_thread_struct::machine_stack_end
size_t rb_thread_struct::machine_stack_maxsize

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

Definition at line 450 of file vm_core.h.

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

native_thread_data_t rb_thread_struct::native_thread_data

Definition at line 431 of file vm_core.h.

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

const rb_block_t* rb_thread_struct::passed_block
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().

int rb_thread_struct::priority
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().

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

Definition at line 485 of file vm_core.h.

Referenced by fiber_init().

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

int rb_thread_struct::safe_level
VALUE rb_thread_struct::self
VALUE* rb_thread_struct::stack
unsigned long rb_thread_struct::stack_size
VALUE rb_thread_struct::stat_insn_usage

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

Definition at line 446 of file vm_core.h.

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

VALUE rb_thread_struct::thgroup
rb_thread_id_t rb_thread_struct::thread_id
VALUE rb_thread_struct::thrown_errinfo
VALUE rb_thread_struct::top_self
VALUE rb_thread_struct::top_wrapper
int rb_thread_struct::tracing
struct rb_unblock_callback rb_thread_struct::unblock
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().

rb_vm_t* rb_thread_struct::vm
int rb_thread_struct::waiting_fd

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