Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include <vm_core.h>
Public Types | |
enum | thread_invoke_type { thread_invoke_type_none = 0 , thread_invoke_type_proc , thread_invoke_type_ractor_proc , thread_invoke_type_func } |
Public Member Functions | |
BITFIELD (enum rb_thread_status, status, 2) | |
rb_thread_struct::BITFIELD | ( | enum | rb_thread_status, |
status | , | ||
2 | |||
) |
unsigned rb_thread_struct::blocking |
Definition at line 1016 of file vm_core.h.
Referenced by rb_fiber_start().
void* rb_thread_struct::blocking_region_buffer |
Definition at line 967 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 941 of file vm_core.h.
Referenced by Init_BareVM(), Init_Cont(), Init_VM(), rb_eval_string_wrap(), rb_fiber_reset_root_local_storage(), rb_fiber_start(), rb_ractor_terminate_interrupt_main_thread(), rb_thread_fd_select(), rb_thread_sleep_interruptible(), rb_thread_terminate_all(), rb_threadptr_execute_interrupts(), rb_threadptr_root_fiber_release(), rb_threadptr_root_fiber_setup(), rb_threadptr_root_fiber_terminate(), rb_uninterruptible(), rb_vm_each_stack_value(), rb_vm_set_progname(), rb_vmdebug_stack_dump_th(), and rb_vmdebug_thread_dump_state().
struct rb_ext_config rb_thread_struct::ext_config |
struct { ... } rb_thread_struct::func |
rb_nativethread_lock_t rb_thread_struct::interrupt_lock |
Definition at line 982 of file vm_core.h.
Referenced by Init_Thread_Mutex().
union { ... } rb_thread_struct::invoke_arg |
enum rb_thread_struct::thread_invoke_type rb_thread_struct::invoke_type |
struct rb_waiting_list* rb_thread_struct::join_list |
struct rb_mutex_struct* rb_thread_struct::keeping_mutexes |
Definition at line 985 of file vm_core.h.
Referenced by rb_threadptr_unlock_all_locking_mutexes().
struct list_node rb_thread_struct::lt_node |
Definition at line 936 of file vm_core.h.
Referenced by rb_ractor_living_threads_insert(), and rb_ractor_living_threads_remove().
native_thread_data_t rb_thread_struct::native_thread_data |
VALUE rb_thread_struct::pending_interrupt_mask_stack |
Definition at line 979 of file vm_core.h.
Referenced by Init_Thread(), and rb_uninterruptible().
VALUE rb_thread_struct::pending_interrupt_queue |
Definition at line 978 of file vm_core.h.
Referenced by Init_Thread(), rb_threadptr_pending_interrupt_clear(), and rb_threadptr_pending_interrupt_enque().
unsigned int rb_thread_struct::pending_interrupt_queue_checked |
Definition at line 962 of file vm_core.h.
Referenced by Init_Thread(), and rb_threadptr_pending_interrupt_enque().
int8_t rb_thread_struct::priority |
Definition at line 963 of file vm_core.h.
Referenced by rb_threadptr_execute_interrupts().
struct { ... } rb_thread_struct::proc |
rb_ractor_t* rb_thread_struct::ractor |
Definition at line 938 of file vm_core.h.
Referenced by Init_BareVM(), Init_Thread(), Init_VM(), rb_nogvl(), rb_thread_terminate_all(), rb_threadptr_root_fiber_release(), and rb_vm_set_progname().
rb_fiber_t* rb_thread_struct::root_fiber |
Definition at line 1012 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 |
uint32_t rb_thread_struct::running_time_us |
Definition at line 964 of file vm_core.h.
Referenced by rb_threadptr_execute_interrupts().
VALUE rb_thread_struct::scheduler |
Definition at line 1015 of file vm_core.h.
Referenced by rb_scheduler_get(), and rb_scheduler_set().
VALUE rb_thread_struct::self |
Definition at line 937 of file vm_core.h.
Referenced by Init_VM(), rb_fiber_start(), rb_ractor_thread_list(), rb_tracepoint_disable(), and rb_tracepoint_enable().
VALUE rb_thread_struct::thgroup |
Definition at line 969 of file vm_core.h.
Referenced by Init_Thread().
rb_nativethread_id_t rb_thread_struct::thread_id |
Definition at line 953 of file vm_core.h.
Referenced by rb_vmdebug_stack_dump_all_threads().
unsigned int rb_thread_struct::to_kill |
Definition at line 959 of file vm_core.h.
Referenced by rb_thread_kill(), and rb_thread_to_be_killed().
VALUE rb_thread_struct::top_self |
Definition at line 949 of file vm_core.h.
Referenced by Init_VM(), and rb_eval_string_wrap().
VALUE rb_thread_struct::top_wrapper |
Definition at line 950 of file vm_core.h.
Referenced by Init_VM(), rb_eval_string_wrap(), and rb_set_end_proc().
struct rb_unblock_callback rb_thread_struct::unblock |
Definition at line 983 of file vm_core.h.
Referenced by rb_thread_call_with_gvl().
rb_vm_t* rb_thread_struct::vm |
Definition at line 939 of file vm_core.h.
Referenced by Init_BareVM(), Init_Cont(), Init_Thread_Mutex(), Init_VM(), rb_notify_fd_close(), rb_ractor_living_threads_insert(), rb_ractor_living_threads_remove(), rb_thread_kill(), rb_thread_wait_for_single_fd(), rb_threadptr_execute_interrupts(), rb_threadptr_signal_exit(), and rb_threadptr_signal_raise().