Ruby: sync_waiter Struct Reference

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

Data Fields
sync_waiter Struct Reference

## Data Fields
VALUE | self
rb_thread_t * | th
rb_fiber_t * | fiber
struct list_node | node

## Detailed Description

Definition at line 16 of file thread_sync.c.

## Field Documentation

## ◆ fiber

rb_fiber_t* sync_waiter::fiber

Definition at line 19 of file thread_sync.c.

Referenced by rb_mutex_owned_p(), and rb_mutex_trylock().

## ◆ node

struct list_node sync_waiter::node

Definition at line 20 of file thread_sync.c.

## ◆ self

VALUE sync_waiter::self

Definition at line 17 of file thread_sync.c.

Referenced by rb_mutex_lock(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), and rb_mutex_unlock().

## ◆ th

rb_thread_t* sync_waiter::th

Definition at line 18 of file thread_sync.c.

Referenced by rb_mutex_trylock(), and rb_mutex_unlock().

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

- thread_sync.c