Ruby: rb_ractor_basket Struct Reference

Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)

Data Fields
rb_ractor_basket Struct Reference

## Data Fields
union { |
enum rb_ractor_basket_type e |
rb_atomic_t atomic |
} | type |
VALUE | sender
union { |
struct { |
VALUE v |
bool exception |
} send |
struct { |
struct rb_ractor_basket * basket |
struct rb_ractor_selector_take_config * config |
} take |
} | p |

## Detailed Description

Definition at line 41 of file ractor_core.h.

## Field Documentation

## ◆ atomic

rb_atomic_t rb_ractor_basket::atomic

Definition at line 44 of file ractor_core.h.

## ◆ basket

struct rb_ractor_basket* rb_ractor_basket::basket

Definition at line 55 of file ractor_core.h.

## ◆ config

struct rb_ractor_selector_take_config* rb_ractor_basket::config

Definition at line 56 of file ractor_core.h.

## ◆ e

enum rb_ractor_basket_type rb_ractor_basket::e

Definition at line 43 of file ractor_core.h.

## ◆ exception

bool rb_ractor_basket::exception

Definition at line 51 of file ractor_core.h.

## ◆ sender

VALUE rb_ractor_basket::sender

Definition at line 46 of file ractor_core.h.

## ◆ v

VALUE rb_ractor_basket::v

Definition at line 50 of file ractor_core.h.

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

- ractor_core.h