Ruby: rb_mutex_struct Struct Reference

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

Data Fields
rb_mutex_struct Struct Reference

## Data Fields
rb_fiber_t * | fiber
struct rb_mutex_struct * | next_mutex
struct list_head | waitq

## Detailed Description

Definition at line 9 of file thread_sync.c.

## Field Documentation

## ◆ fiber

rb_fiber_t* rb_mutex_struct::fiber

Definition at line 10 of file thread_sync.c.

Referenced by rb_mutex_locked_p(), rb_mutex_trylock(), rb_thread_shield_wait(), and rb_threadptr_unlock_all_locking_mutexes().

## ◆ next_mutex

struct rb_mutex_struct* rb_mutex_struct::next_mutex

Definition at line 11 of file thread_sync.c.

Referenced by rb_threadptr_unlock_all_locking_mutexes().

## ◆ waitq

struct list_head rb_mutex_struct::waitq

Definition at line 12 of file thread_sync.c.

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

- thread_sync.c