MySQL 5.6.14 Source Code Document
|
#include <sync0sync.h>
Public Member Functions | |
UT_LIST_NODE_T (ib_mutex_t) list |
Public Attributes | |
os_event_t | event |
volatile lock_word_t | lock_word |
os_fast_mutex_t | os_fast_mutex |
ulint | waiters |
const char * | cfile_name |
ulint | cline |
ulong | count_os_wait |
InnoDB mutex
Definition at line 728 of file sync0sync.h.
ib_mutex_t::UT_LIST_NODE_T | ( | ib_mutex_t | ) |
All allocated mutexes are put into a list. Pointers to the next and prev.
const char* ib_mutex_t::cfile_name |
File name where mutex created
Definition at line 750 of file sync0sync.h.
ulint ib_mutex_t::cline |
Line where created
Definition at line 751 of file sync0sync.h.
ulong ib_mutex_t::count_os_wait |
count of os_wait
Definition at line 752 of file sync0sync.h.
os_event_t ib_mutex_t::event |
Used by sync0arr.cc for the wait queue
Definition at line 729 of file sync0sync.h.
volatile lock_word_t ib_mutex_t::lock_word |
lock_word is the target of the atomic test-and-set instruction when atomic operations are enabled.
Definition at line 730 of file sync0sync.h.
os_fast_mutex_t ib_mutex_t::os_fast_mutex |
We use this OS mutex in place of lock_word when atomic operations are not enabled
Definition at line 736 of file sync0sync.h.
ulint ib_mutex_t::waiters |
This ulint is set to 1 if there are (or may be) threads waiting in the global wait array for this mutex to be released. Otherwise, this is 0.
Definition at line 739 of file sync0sync.h.