Ruby  2.4.2p198(2017-09-14revision59899)
Data Fields
rb_mutex_struct Struct Reference

Data Fields

rb_nativethread_lock_t lock
 
rb_nativethread_cond_t cond
 
struct rb_thread_struct volatile * th
 
struct rb_mutex_structnext_mutex
 
int cond_waiting
 
int allow_trap
 

Detailed Description

Definition at line 8 of file thread_sync.c.

Field Documentation

◆ allow_trap

int rb_mutex_struct::allow_trap

Definition at line 14 of file thread_sync.c.

Referenced by rb_mutex_allow_trap(), and rb_mutex_lock().

◆ cond

rb_nativethread_cond_t rb_mutex_struct::cond

Definition at line 10 of file thread_sync.c.

Referenced by lock_func(), lock_interrupt(), mutex_alloc(), mutex_free(), and rb_mutex_unlock_th().

◆ cond_waiting

int rb_mutex_struct::cond_waiting

◆ lock

rb_nativethread_lock_t rb_mutex_struct::lock

◆ next_mutex

struct rb_mutex_struct* rb_mutex_struct::next_mutex

◆ th

struct rb_thread_struct volatile* rb_mutex_struct::th

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