Ruby 4.1.0dev (2026-08-15 revision d1c079751b80352d347452c8d134ffb177838adb)
Data Fields
rb_ractor_struct Struct Reference

Data Fields

struct rb_ractor_pub pub
 
struct rb_ractor_sync sync
 
VALUEregistered_marks
 
size_t registered_marks_cnt
 
size_t registered_marks_capa
 
struct gc_mark_func_data_structmark_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 
 
threads 
 
rb_atomic_t postponed_job_triggered_bits
 
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_tablelocal_storage
 
struct rb_id_tableidkey_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
 
bool gen_fields_capturing
 
VALUEpin_capture
 
size_t pin_capture_cnt
 
size_t pin_capture_capa
 
struct ractor_basketsending_basket
 

Detailed Description

Definition at line 87 of file ractor_core.h.

Field Documentation

◆ blocking_cnt

unsigned int rb_ractor_struct::blocking_cnt

Definition at line 106 of file ractor_core.h.

◆ cnt

unsigned int rb_ractor_struct::cnt

Definition at line 105 of file ractor_core.h.

◆ creating_child_objspace

void* rb_ractor_struct::creating_child_objspace

Definition at line 163 of file ractor_core.h.

◆ debug

VALUE rb_ractor_struct::debug

Definition at line 148 of file ractor_core.h.

◆ gen_fields_capturing

bool rb_ractor_struct::gen_fields_capturing

Definition at line 167 of file ractor_core.h.

◆ idkey_local_storage

struct rb_id_table* rb_ractor_struct::idkey_local_storage

Definition at line 138 of file ractor_core.h.

◆ in_terminated_set

bool rb_ractor_struct::in_terminated_set

Definition at line 127 of file ractor_core.h.

◆ loc

VALUE rb_ractor_struct::loc

Definition at line 122 of file ractor_core.h.

◆ local_storage

st_table* rb_ractor_struct::local_storage

Definition at line 137 of file ractor_core.h.

◆ local_storage_store_lock

VALUE rb_ractor_struct::local_storage_store_lock

Definition at line 139 of file ractor_core.h.

◆ main

rb_thread_t* rb_ractor_struct::main

Definition at line 110 of file ractor_core.h.

◆ main_ractor

bool rb_ractor_struct::main_ractor

Definition at line 151 of file ractor_core.h.

◆ malloc_gc_disabled

bool rb_ractor_struct::malloc_gc_disabled

Definition at line 150 of file ractor_core.h.

◆ mark_func_data

struct gc_mark_func_data_struct* rb_ractor_struct::mark_func_data

Definition at line 100 of file ractor_core.h.

◆ name

VALUE rb_ractor_struct::name

Definition at line 121 of file ractor_core.h.

◆ newobj_cache

void* rb_ractor_struct::newobj_cache

Definition at line 152 of file ractor_core.h.

◆ next_ec_serial

rb_serial_t rb_ractor_struct::next_ec_serial

Definition at line 135 of file ractor_core.h.

◆ objspace

void* rb_ractor_struct::objspace

Definition at line 157 of file ractor_core.h.

◆ pin_capture

VALUE* rb_ractor_struct::pin_capture

Definition at line 172 of file ractor_core.h.

◆ pin_capture_capa

size_t rb_ractor_struct::pin_capture_capa

Definition at line 173 of file ractor_core.h.

◆ pin_capture_cnt

size_t rb_ractor_struct::pin_capture_cnt

Definition at line 173 of file ractor_core.h.

◆ postmortem

bool rb_ractor_struct::postmortem

Definition at line 131 of file ractor_core.h.

◆ postponed_job_triggered_bits

rb_atomic_t rb_ractor_struct::postponed_job_triggered_bits

Definition at line 117 of file ractor_core.h.

◆ pub

struct rb_ractor_pub rb_ractor_struct::pub

Definition at line 88 of file ractor_core.h.

◆ r_stderr

VALUE rb_ractor_struct::r_stderr

Definition at line 146 of file ractor_core.h.

◆ r_stdin

VALUE rb_ractor_struct::r_stdin

Definition at line 144 of file ractor_core.h.

◆ r_stdout

VALUE rb_ractor_struct::r_stdout

Definition at line 145 of file ractor_core.h.

◆ registered_marks

VALUE* rb_ractor_struct::registered_marks

Definition at line 94 of file ractor_core.h.

◆ registered_marks_capa

size_t rb_ractor_struct::registered_marks_capa

Definition at line 95 of file ractor_core.h.

◆ registered_marks_cnt

size_t rb_ractor_struct::registered_marks_cnt

Definition at line 95 of file ractor_core.h.

◆ running_ec

rb_execution_context_t* rb_ractor_struct::running_ec

Definition at line 109 of file ractor_core.h.

◆ sched

struct rb_thread_sched rb_ractor_struct::sched

Definition at line 108 of file ractor_core.h.

◆ sending_basket

struct ractor_basket* rb_ractor_struct::sending_basket

Definition at line 176 of file ractor_core.h.

◆ set

struct ccan_list_head rb_ractor_struct::set

Definition at line 104 of file ractor_core.h.

◆ sleeper

unsigned int rb_ractor_struct::sleeper

Definition at line 107 of file ractor_core.h.

◆ status_

enum ractor_status rb_ractor_struct::status_

Definition at line 124 of file ractor_core.h.

◆ sync

struct rb_ractor_sync rb_ractor_struct::sync

Definition at line 89 of file ractor_core.h.

◆ thgroup_default

VALUE rb_ractor_struct::thgroup_default

Definition at line 119 of file ractor_core.h.

◆ verbose

VALUE rb_ractor_struct::verbose

Definition at line 147 of file ractor_core.h.

◆ vmlr_node

struct ccan_list_node rb_ractor_struct::vmlr_node

Definition at line 126 of file ractor_core.h.


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