Ruby 4.1.0dev (2026-11-21 revision 72d4cf2e9ab72899958450638409ebdc18e9855b)
rb_ractor_struct Struct Reference

Data Fields

struct rb_ractor_pub pub
struct rb_ractor_sync sync
VALUE * registered_marks
size_t registered_marks_cnt
size_t registered_marks_capa
struct rb_ractor_registered_addr * registered_addrs
size_t registered_addrs_cnt
size_t registered_addrs_capa
bool registered_addrs_listed
struct gc_mark_func_data_struct * mark_func_data
struct { 
   struct ccan_list_head   set 
   unsigned int   cnt 
   unsigned int   blocking_cnt 
   unsigned int   sleeper 
   struct rb_thread_sched   sched 
   rb_execution_context_t *   running_ec 
   rb_thread_t *   main 
   rb_thread_t *   dying_th 
   bool   terminating 
} threads
rb_atomic_t postponed_job_triggered_bits
struct class_field_shareable_p * shareable_p_requests
VALUE thgroup_default
VALUE name
VALUE loc
enum ractor_status status_
struct ccan_list_node vmlr_node
bool in_terminated_set
bool postmortem
rb_serial_t next_ec_serial
st_table * local_storage
struct rb_id_table * idkey_local_storage
VALUE local_storage_store_lock
VALUE r_stdin
VALUE r_stdout
VALUE r_stderr
VALUE verbose
VALUE debug
bool malloc_gc_disabled
bool main_ractor
void * newobj_cache
void * objspace
void * creating_child_objspace

Detailed Description

Definition at line 103 of file ractor_core.h.

Field Documentation

◆ blocking_cnt

unsigned int rb_ractor_struct::blocking_cnt

Definition at line 126 of file ractor_core.h.

◆ cnt

unsigned int rb_ractor_struct::cnt

Definition at line 125 of file ractor_core.h.

◆ creating_child_objspace

void* rb_ractor_struct::creating_child_objspace

Definition at line 193 of file ractor_core.h.

◆ debug

VALUE rb_ractor_struct::debug

Definition at line 178 of file ractor_core.h.

◆ dying_th

rb_thread_t* rb_ractor_struct::dying_th

Definition at line 133 of file ractor_core.h.

◆ idkey_local_storage

struct rb_id_table* rb_ractor_struct::idkey_local_storage

Definition at line 168 of file ractor_core.h.

◆ in_terminated_set

bool rb_ractor_struct::in_terminated_set

Definition at line 157 of file ractor_core.h.

◆ loc

VALUE rb_ractor_struct::loc

Definition at line 152 of file ractor_core.h.

◆ local_storage

st_table* rb_ractor_struct::local_storage

Definition at line 167 of file ractor_core.h.

◆ local_storage_store_lock

VALUE rb_ractor_struct::local_storage_store_lock

Definition at line 169 of file ractor_core.h.

◆ main

rb_thread_t* rb_ractor_struct::main

Definition at line 130 of file ractor_core.h.

◆ main_ractor

bool rb_ractor_struct::main_ractor

Definition at line 181 of file ractor_core.h.

◆ malloc_gc_disabled

bool rb_ractor_struct::malloc_gc_disabled

Definition at line 180 of file ractor_core.h.

◆ mark_func_data

struct gc_mark_func_data_struct* rb_ractor_struct::mark_func_data

Definition at line 120 of file ractor_core.h.

◆ name

VALUE rb_ractor_struct::name

Definition at line 151 of file ractor_core.h.

◆ newobj_cache

void* rb_ractor_struct::newobj_cache

Definition at line 182 of file ractor_core.h.

◆ next_ec_serial

rb_serial_t rb_ractor_struct::next_ec_serial

Definition at line 165 of file ractor_core.h.

◆ objspace

void* rb_ractor_struct::objspace

Definition at line 187 of file ractor_core.h.

◆ postmortem

bool rb_ractor_struct::postmortem

Definition at line 161 of file ractor_core.h.

◆ postponed_job_triggered_bits

rb_atomic_t rb_ractor_struct::postponed_job_triggered_bits

Definition at line 143 of file ractor_core.h.

◆ pub

struct rb_ractor_pub rb_ractor_struct::pub

Definition at line 104 of file ractor_core.h.

◆ r_stderr

VALUE rb_ractor_struct::r_stderr

Definition at line 176 of file ractor_core.h.

◆ r_stdin

VALUE rb_ractor_struct::r_stdin

Definition at line 174 of file ractor_core.h.

◆ r_stdout

VALUE rb_ractor_struct::r_stdout

Definition at line 175 of file ractor_core.h.

◆ registered_addrs

struct rb_ractor_registered_addr* rb_ractor_struct::registered_addrs

Definition at line 113 of file ractor_core.h.

◆ registered_addrs_capa

size_t rb_ractor_struct::registered_addrs_capa

Definition at line 114 of file ractor_core.h.

◆ registered_addrs_cnt

size_t rb_ractor_struct::registered_addrs_cnt

Definition at line 114 of file ractor_core.h.

◆ registered_addrs_listed

bool rb_ractor_struct::registered_addrs_listed

Definition at line 115 of file ractor_core.h.

◆ registered_marks

VALUE* rb_ractor_struct::registered_marks

Definition at line 110 of file ractor_core.h.

◆ registered_marks_capa

size_t rb_ractor_struct::registered_marks_capa

Definition at line 111 of file ractor_core.h.

◆ registered_marks_cnt

size_t rb_ractor_struct::registered_marks_cnt

Definition at line 111 of file ractor_core.h.

◆ running_ec

rb_execution_context_t* rb_ractor_struct::running_ec

Definition at line 129 of file ractor_core.h.

◆ sched

struct rb_thread_sched rb_ractor_struct::sched

Definition at line 128 of file ractor_core.h.

◆ set

struct ccan_list_head rb_ractor_struct::set

Definition at line 124 of file ractor_core.h.

◆ shareable_p_requests

struct class_field_shareable_p* rb_ractor_struct::shareable_p_requests

Definition at line 147 of file ractor_core.h.

◆ sleeper

unsigned int rb_ractor_struct::sleeper

Definition at line 127 of file ractor_core.h.

◆ status_

enum ractor_status rb_ractor_struct::status_

Definition at line 154 of file ractor_core.h.

◆ sync

struct rb_ractor_sync rb_ractor_struct::sync

Definition at line 105 of file ractor_core.h.

◆ terminating

bool rb_ractor_struct::terminating

Definition at line 136 of file ractor_core.h.

◆ thgroup_default

VALUE rb_ractor_struct::thgroup_default

Definition at line 149 of file ractor_core.h.

◆ verbose

VALUE rb_ractor_struct::verbose

Definition at line 177 of file ractor_core.h.

◆ vmlr_node

struct ccan_list_node rb_ractor_struct::vmlr_node

Definition at line 156 of file ractor_core.h.


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