Ruby: rb_ractor_sync::ractor_wait Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Public Types | Data Fields
rb_ractor_sync::ractor_wait Struct Reference

`#include <ractor_core.h>`

## Public Types
enum | ractor_wait_status { wait_none = 0x00 , wait_receiving = 0x01 , wait_taking = 0x02 , wait_yielding = 0x04 , wait_moving = 0x08 }
enum | ractor_wakeup_status { wakeup_none , wakeup_by_send , wakeup_by_yield , wakeup_by_take , wakeup_by_close , wakeup_by_interrupt , wakeup_by_retry }

## Data Fields
enum rb_ractor_sync::ractor_wait::ractor_wait_status | status
enum rb_ractor_sync::ractor_wait::ractor_wakeup_status | wakeup_status
struct rb_ractor_basket | yielded_basket
struct rb_ractor_basket | taken_basket

## Detailed Description

Definition at line 58 of file ractor_core.h.

## Member Enumeration Documentation

## ◆ ractor_wait_status

enum rb_ractor_sync::ractor_wait::ractor_wait_status

Enumerator
wait_none |
wait_receiving |
wait_taking |
wait_yielding |
wait_moving |

Definition at line 59 of file ractor_core.h.

## ◆ ractor_wakeup_status

enum rb_ractor_sync::ractor_wait::ractor_wakeup_status

Enumerator
wakeup_none |
wakeup_by_send |
wakeup_by_yield |
wakeup_by_take |
wakeup_by_close |
wakeup_by_interrupt |
wakeup_by_retry |

Definition at line 67 of file ractor_core.h.

## Field Documentation

## ◆ status

enum rb_ractor_sync::ractor_wait::ractor_wait_status rb_ractor_sync::ractor_wait::status

## ◆ taken_basket

struct rb_ractor_basket rb_ractor_sync::ractor_wait::taken_basket

Definition at line 78 of file ractor_core.h.

## ◆ wakeup_status

enum rb_ractor_sync::ractor_wait::ractor_wakeup_status rb_ractor_sync::ractor_wait::wakeup_status

## ◆ yielded_basket

struct rb_ractor_basket rb_ractor_sync::ractor_wait::yielded_basket

Definition at line 77 of file ractor_core.h.

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

- ractor_core.h