Ruby  2.1.10p492(2016-04-01revision54464)
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 388 of file thread.c.

Field Documentation

int rb_mutex_struct::allow_trap

Definition at line 395 of file thread.c.

Referenced by rb_mutex_allow_trap(), and rb_mutex_lock().

rb_nativethread_cond_t rb_mutex_struct::cond

Definition at line 391 of file thread.c.

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

int rb_mutex_struct::cond_waiting

Definition at line 394 of file thread.c.

Referenced by check_deadlock_i(), lock_func(), lock_interrupt(), and rb_mutex_unlock_th().

rb_nativethread_lock_t rb_mutex_struct::lock
struct rb_mutex_struct* rb_mutex_struct::next_mutex
struct rb_thread_struct volatile* rb_mutex_struct::th

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