rb_mutex_struct Struct Reference


Data Fields

rb_nativethread_lock_t lock
rb_nativethread_cond_t cond
rb_thread_struct volatile * th
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

Definition at line 390 of file thread.c.

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

struct rb_mutex_struct* rb_mutex_struct::next_mutex

Definition at line 393 of file thread.c.

Referenced by mutex_locked(), rb_mutex_abandon_all(), rb_mutex_unlock_th(), and rb_threadptr_unlock_all_locking_mutexes().

struct rb_thread_struct volatile* rb_mutex_struct::th

Definition at line 392 of file thread.c.

Referenced by check_deadlock_i(), lock_func(), mutex_free(), rb_mutex_abandon_all(), rb_mutex_abandon_locking_mutex(), rb_mutex_lock(), rb_mutex_locked_p(), rb_mutex_owned_p(), rb_mutex_trylock(), rb_mutex_unlock_th(), rb_thread_shield_wait(), rb_thread_terminate_all(), rb_threadptr_unlock_all_locking_mutexes(), ruby_thread_init_stack(), thread_cleanup_func(), thread_cleanup_func_before_exec(), thread_create_core(), thread_initialize(), thread_s_new(), and thread_start_func_2().


The documentation for this struct was generated from the following file:
Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7