|
Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
#include <vm_core.h>
Public Types | |
| enum | { thread_invoke_type_none = 0, thread_invoke_type_proc, thread_invoke_type_func } |
Public Member Functions | |
| BITFIELD (enum rb_thread_status, status, 2) | |
Data Fields | |
| struct list_node | vmlt_node |
| VALUE | self |
| rb_vm_t * | vm |
| rb_execution_context_t * | ec |
| VALUE | last_status |
| struct rb_calling_info * | calling |
| VALUE | top_self |
| VALUE | top_wrapper |
| rb_nativethread_id_t | thread_id |
| unsigned int | to_kill: 1 |
| unsigned int | abort_on_exception: 1 |
| unsigned int | report_on_exception: 1 |
| unsigned int | pending_interrupt_queue_checked: 1 |
| int8_t | priority |
| uint32_t | running_time_us |
| native_thread_data_t | native_thread_data |
| void * | blocking_region_buffer |
| VALUE | thgroup |
| VALUE | value |
| VALUE | pending_interrupt_queue |
| VALUE | pending_interrupt_mask_stack |
| rb_nativethread_lock_t | interrupt_lock |
| struct rb_unblock_callback | unblock |
| VALUE | locking_mutex |
| struct rb_mutex_struct * | keeping_mutexes |
| rb_thread_list_t * | join_list |
| union { | |
| struct { | |
| VALUE proc | |
| VALUE args | |
| int kw_splat | |
| } proc | |
| struct { | |
| VALUE(* func )(void *) | |
| void * arg | |
| } func | |
| } | invoke_arg |
| enum rb_thread_struct:: { ... } | invoke_type |
| VALUE | stat_insn_usage |
| rb_fiber_t * | root_fiber |
| rb_jmpbuf_t | root_jmpbuf |
| VALUE | name |
| anonymous enum |
| rb_thread_struct::BITFIELD | ( | enum | rb_thread_status, |
| status | , | ||
| 2 | |||
| ) |
| void* rb_thread_struct::blocking_region_buffer |
Definition at line 941 of file vm_core.h.
Referenced by rb_thread_call_with_gvl(), and ruby_thread_has_gvl_p().
| struct rb_calling_info* rb_thread_struct::calling |
| rb_execution_context_t* rb_thread_struct::ec |
Definition at line 915 of file vm_core.h.
Referenced by rb_fiber_reset_root_local_storage(), rb_fiber_start(), rb_thread_sleep_interruptible(), rb_thread_terminate_all(), rb_threadptr_execute_interrupts(), rb_threadptr_root_fiber_release(), rb_threadptr_root_fiber_terminate(), and rb_vm_set_progname().
| struct { ... } rb_thread_struct::func |
| union { ... } rb_thread_struct::invoke_arg |
| enum { ... } rb_thread_struct::invoke_type |
| rb_thread_list_t* rb_thread_struct::join_list |
| struct rb_mutex_struct* rb_thread_struct::keeping_mutexes |
Definition at line 959 of file vm_core.h.
Referenced by rb_threadptr_unlock_all_locking_mutexes().
| VALUE rb_thread_struct::last_status |
Definition at line 917 of file vm_core.h.
Referenced by rb_last_status_set().
| native_thread_data_t rb_thread_struct::native_thread_data |
| VALUE rb_thread_struct::pending_interrupt_queue |
Definition at line 952 of file vm_core.h.
Referenced by rb_threadptr_pending_interrupt_clear(), and rb_threadptr_pending_interrupt_enque().
| unsigned int rb_thread_struct::pending_interrupt_queue_checked |
Definition at line 936 of file vm_core.h.
Referenced by rb_threadptr_pending_interrupt_enque().
| struct { ... } rb_thread_struct::proc |
| rb_fiber_t* rb_thread_struct::root_fiber |
Definition at line 985 of file vm_core.h.
Referenced by rb_fiber_reset_root_local_storage(), and rb_threadptr_root_fiber_release().
| rb_jmpbuf_t rb_thread_struct::root_jmpbuf |
| VALUE rb_thread_struct::self |
Definition at line 912 of file vm_core.h.
Referenced by rb_fiber_start(), rb_thread_list(), and rb_vm_mark().
| rb_nativethread_id_t rb_thread_struct::thread_id |
Definition at line 927 of file vm_core.h.
Referenced by rb_vmdebug_stack_dump_all_threads().
| VALUE rb_thread_struct::top_self |
Definition at line 923 of file vm_core.h.
Referenced by rb_eval_string_wrap().
| VALUE rb_thread_struct::top_wrapper |
Definition at line 924 of file vm_core.h.
Referenced by rb_eval_string_wrap(), and rb_set_end_proc().
| struct rb_unblock_callback rb_thread_struct::unblock |
Definition at line 956 of file vm_core.h.
Referenced by rb_thread_call_with_gvl().
| rb_vm_t* rb_thread_struct::vm |
Definition at line 913 of file vm_core.h.
Referenced by Init_Cont(), rb_notify_fd_close(), and rb_thread_terminate_all().