Ruby  2.5.0dev(2017-10-22revision60238)
Data Fields
rb_thread_struct Struct Reference

#include <vm_core.h>

Data Fields

struct list_node vmlt_node
 
VALUE self
 
rb_vm_tvm
 
rb_execution_context_t ec
 
VALUE last_status
 
VALUE passed_block_handler
 
const rb_callable_method_entry_tpassed_bmethod_me
 
struct rb_calling_infocalling
 
VALUE top_self
 
VALUE top_wrapper
 
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 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
 
struct rb_unblock_callback unblock
 
VALUE locking_mutex
 
struct rb_mutex_structkeeping_mutexes
 
rb_thread_list_tjoin_list
 
VALUE first_proc
 
VALUE first_args
 
VALUE(* first_func )(ANYARGS)
 
VALUE stat_insn_usage
 
rb_hook_list_t event_hooks
 
rb_fiber_troot_fiber
 
rb_jmpbuf_t root_jmpbuf
 
enum method_missing_reason method_missing_reason: 8
 
unsigned int abort_on_exception: 1
 
unsigned int report_on_exception: 1
 
uint32_t running_time_us
 
VALUE name
 

Detailed Description

Definition at line 785 of file vm_core.h.

Field Documentation

◆ abort_on_exception

unsigned int rb_thread_struct::abort_on_exception

Definition at line 857 of file vm_core.h.

◆ blocking_region_buffer

void* rb_thread_struct::blocking_region_buffer

Definition at line 817 of file vm_core.h.

Referenced by rb_thread_call_with_gvl(), and ruby_thread_has_gvl_p().

◆ calling

struct rb_calling_info* rb_thread_struct::calling

Definition at line 801 of file vm_core.h.

◆ ec

rb_execution_context_t rb_thread_struct::ec

◆ event_hooks

rb_hook_list_t rb_thread_struct::event_hooks

Definition at line 849 of file vm_core.h.

Referenced by rb_thread_mark().

◆ first_args

VALUE rb_thread_struct::first_args

Definition at line 842 of file vm_core.h.

Referenced by rb_thread_mark().

◆ first_func

VALUE(* rb_thread_struct::first_func) (ANYARGS)

Definition at line 843 of file vm_core.h.

◆ first_proc

VALUE rb_thread_struct::first_proc

Definition at line 841 of file vm_core.h.

Referenced by rb_thread_mark().

◆ interrupt_flag

rb_atomic_t rb_thread_struct::interrupt_flag

Definition at line 832 of file vm_core.h.

◆ interrupt_lock

rb_nativethread_lock_t rb_thread_struct::interrupt_lock

Definition at line 834 of file vm_core.h.

◆ interrupt_mask

unsigned long rb_thread_struct::interrupt_mask

Definition at line 833 of file vm_core.h.

Referenced by rb_mutex_lock(), and rb_postponed_job_flush().

◆ join_list

rb_thread_list_t* rb_thread_struct::join_list

Definition at line 839 of file vm_core.h.

◆ keeping_mutexes

struct rb_mutex_struct* rb_thread_struct::keeping_mutexes

Definition at line 837 of file vm_core.h.

Referenced by rb_threadptr_unlock_all_locking_mutexes().

◆ last_status

VALUE rb_thread_struct::last_status

Definition at line 792 of file vm_core.h.

Referenced by rb_last_status_set(), and rb_thread_mark().

◆ locking_mutex

VALUE rb_thread_struct::locking_mutex

Definition at line 836 of file vm_core.h.

Referenced by rb_mutex_lock(), and rb_thread_mark().

◆ method_missing_reason

enum method_missing_reason rb_thread_struct::method_missing_reason

Definition at line 856 of file vm_core.h.

◆ name

VALUE rb_thread_struct::name

Definition at line 863 of file vm_core.h.

Referenced by rb_thread_mark().

◆ native_thread_data

native_thread_data_t rb_thread_struct::native_thread_data

Definition at line 816 of file vm_core.h.

◆ passed_block_handler

VALUE rb_thread_struct::passed_block_handler

Definition at line 795 of file vm_core.h.

◆ passed_bmethod_me

const rb_callable_method_entry_t* rb_thread_struct::passed_bmethod_me

Definition at line 798 of file vm_core.h.

◆ pending_interrupt_mask_stack

VALUE rb_thread_struct::pending_interrupt_mask_stack

Definition at line 829 of file vm_core.h.

Referenced by rb_thread_mark().

◆ 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

Definition at line 814 of file vm_core.h.

◆ report_on_exception

unsigned int rb_thread_struct::report_on_exception

Definition at line 858 of file vm_core.h.

◆ root_fiber

rb_fiber_t* rb_thread_struct::root_fiber

Definition at line 852 of file vm_core.h.

Referenced by rb_thread_mark().

◆ root_jmpbuf

rb_jmpbuf_t rb_thread_struct::root_jmpbuf

Definition at line 853 of file vm_core.h.

◆ running_time_us

uint32_t rb_thread_struct::running_time_us

Definition at line 862 of file vm_core.h.

◆ self

VALUE rb_thread_struct::self

Definition at line 787 of file vm_core.h.

Referenced by rb_fiber_start(), rb_thread_list(), rb_vm_mark(), and ruby_vm_destruct().

◆ stat_insn_usage

VALUE rb_thread_struct::stat_insn_usage

Definition at line 846 of file vm_core.h.

Referenced by rb_thread_mark().

◆ status

enum rb_thread_status rb_thread_struct::status

Definition at line 812 of file vm_core.h.

Referenced by rb_mutex_lock(), and rb_thread_list().

◆ thgroup

VALUE rb_thread_struct::thgroup

Definition at line 819 of file vm_core.h.

Referenced by rb_thread_mark().

◆ thread_id

rb_nativethread_id_t rb_thread_struct::thread_id

Definition at line 808 of file vm_core.h.

Referenced by rb_vmdebug_stack_dump_all_threads().

◆ to_kill

int rb_thread_struct::to_kill

Definition at line 813 of file vm_core.h.

◆ top_self

VALUE rb_thread_struct::top_self

Definition at line 804 of file vm_core.h.

Referenced by rb_eval_string_wrap(), and rb_thread_mark().

◆ top_wrapper

VALUE rb_thread_struct::top_wrapper

Definition at line 805 of file vm_core.h.

Referenced by rb_eval_string_wrap(), rb_set_end_proc(), and rb_thread_mark().

◆ unblock

struct rb_unblock_callback rb_thread_struct::unblock

Definition at line 835 of file vm_core.h.

Referenced by rb_thread_call_with_gvl().

◆ value

VALUE rb_thread_struct::value

Definition at line 820 of file vm_core.h.

Referenced by rb_hash_assoc(), and rb_thread_mark().

◆ vm

rb_vm_t* rb_thread_struct::vm

◆ vmlt_node

struct list_node rb_thread_struct::vmlt_node

Definition at line 786 of file vm_core.h.


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