Ruby  3.1.4p223 (2023-03-30 revision HEAD)
Data Fields
rb_vm_struct Struct Reference

Data Fields

VALUE self
 
struct {
   struct list_head   set
 
   unsigned int   cnt
 
   unsigned int   blocking_cnt
 
   struct rb_ractor_struct *   main_ractor
 
   struct rb_thread_struct *   main_thread
 
   struct {
      rb_nativethread_lock_t   lock
 
      struct rb_ractor_struct *   lock_owner
 
      unsigned int   lock_rec
 
      bool   barrier_waiting
 
      unsigned int   barrier_cnt
 
      rb_nativethread_cond_t   barrier_cond
 
      rb_nativethread_cond_t   terminate_cond
 
      bool   terminate_waiting
 
   }   sync
 
ractor
 
rb_serial_t fork_gen
 
rb_nativethread_lock_t waitpid_lock
 
struct list_head waiting_pids
 
struct list_head waiting_grps
 
struct list_head waiting_fds
 
volatile int ubf_async_safe
 
unsigned int running: 1
 
unsigned int thread_abort_on_exception: 1
 
unsigned int thread_report_on_exception: 1
 
unsigned int thread_ignore_deadlock: 1
 
VALUE mark_object_ary
 
const VALUE special_exceptions [ruby_special_error_count]
 
VALUE top_self
 
VALUE load_path
 
VALUE load_path_snapshot
 
VALUE load_path_check_cache
 
VALUE expanded_load_path
 
VALUE loaded_features
 
VALUE loaded_features_snapshot
 
VALUE loaded_features_realpaths
 
struct st_tableloaded_features_index
 
struct st_tableloading_table
 
struct {
   VALUE   cmd [RUBY_NSIG]
 
trap_list
 
struct st_tableensure_rollback_table
 
struct rb_postponed_job_structpostponed_job_buffer
 
rb_atomic_t postponed_job_index
 
int src_encoding_index
 
struct list_head workqueue
 
rb_nativethread_lock_t workqueue_lock
 
VALUE orig_progname
 
VALUE progname
 
VALUE coverages
 
VALUE me2counter
 
int coverage_mode
 
st_tabledefined_module_hash
 
struct rb_objspaceobjspace
 
rb_at_exit_listat_exit
 
st_tablefrozen_strings
 
const struct rb_builtin_functionbuiltin_function_table
 
int builtin_inline_index
 
struct rb_id_tablenegative_cme_table
 
st_tableoverloaded_cme_table
 
const struct rb_callcacheglobal_cc_cache_table [VM_GLOBAL_CC_CACHE_TABLE_SIZE]
 
struct {
   size_t   thread_vm_stack_size
 
   size_t   thread_machine_stack_size
 
   size_t   fiber_vm_stack_size
 
   size_t   fiber_machine_stack_size
 
default_params
 
short redefined_flag [BOP_LAST_]
 

Detailed Description

Definition at line 625 of file vm_core.h.


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