Ruby: rb_ractor_sync Struct Reference

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

Data Fields
rb_ractor_sync Struct Reference

## Data Fields
rb_nativethread_lock_t | lock
rb_nativethread_cond_t | wakeup_cond
struct ractor_queue * | recv_queue
struct ccan_list_head | waiters
VALUE | default_port_value
struct st_table * | ports
size_t | next_port_id
struct ccan_list_head | monitors
rb_ractor_t * | successor
VALUE | legacy
bool | legacy_exc

## Detailed Description

Definition at line 15 of file ractor_core.h.

## Field Documentation

## ◆ default_port_value

VALUE rb_ractor_sync::default_port_value

Definition at line 34 of file ractor_core.h.

## ◆ legacy

VALUE rb_ractor_sync::legacy

Definition at line 43 of file ractor_core.h.

## ◆ legacy_exc

bool rb_ractor_sync::legacy_exc

Definition at line 44 of file ractor_core.h.

## ◆ lock

rb_nativethread_lock_t rb_ractor_sync::lock

Definition at line 17 of file ractor_core.h.

## ◆ monitors

struct ccan_list_head rb_ractor_sync::monitors

Definition at line 39 of file ractor_core.h.

## ◆ next_port_id

size_t rb_ractor_sync::next_port_id

Definition at line 36 of file ractor_core.h.

## ◆ ports

struct st_table* rb_ractor_sync::ports

Definition at line 35 of file ractor_core.h.

## ◆ recv_queue

struct ractor_queue* rb_ractor_sync::recv_queue

Definition at line 28 of file ractor_core.h.

## ◆ successor

rb_ractor_t* rb_ractor_sync::successor

Definition at line 42 of file ractor_core.h.

## ◆ waiters

struct ccan_list_head rb_ractor_sync::waiters

Definition at line 31 of file ractor_core.h.

## ◆ wakeup_cond

rb_nativethread_cond_t rb_ractor_sync::wakeup_cond

Definition at line 24 of file ractor_core.h.

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

- ractor_core.h