| MySQL 5.6.14 Source Code Document
    | 
#include <lock0lock.h>

| Public Attributes | |
| ib_mutex_t | mutex | 
| hash_table_t * | rec_hash | 
| ib_mutex_t | wait_mutex | 
| srv_slot_t * | waiting_threads | 
| srv_slot_t * | last_slot | 
| ibool | rollback_complete | 
| ulint | n_lock_max_wait_time | 
| os_event_t | timeout_event | 
| bool | timeout_thread_active | 
The lock system struct
Definition at line 918 of file lock0lock.h.
| srv_slot_t* lock_sys_t::last_slot | 
highest slot ever used in the waiting_threads array, protected by lock_sys->wait_mutex
Definition at line 929 of file lock0lock.h.
| ib_mutex_t lock_sys_t::mutex | 
Mutex protecting the locks
Definition at line 919 of file lock0lock.h.
| ulint lock_sys_t::n_lock_max_wait_time | 
Max wait time
Definition at line 939 of file lock0lock.h.
| hash_table_t* lock_sys_t::rec_hash | 
hash table of the record locks
Definition at line 921 of file lock0lock.h.
| ibool lock_sys_t::rollback_complete | 
TRUE if rollback of all recovered transactions is complete. Protected by lock_sys->mutex
Definition at line 934 of file lock0lock.h.
| os_event_t lock_sys_t::timeout_event | 
Set to the event that is created in the lock wait monitor thread. A value of 0 means the thread is not active
Definition at line 941 of file lock0lock.h.
| bool lock_sys_t::timeout_thread_active | 
True if the timeout thread is running
Definition at line 946 of file lock0lock.h.
| ib_mutex_t lock_sys_t::wait_mutex | 
Mutex protecting the next two fields
Definition at line 923 of file lock0lock.h.
| srv_slot_t* lock_sys_t::waiting_threads | 
Array of user threads suspended while waiting for locks within InnoDB, protected by the lock_sys->wait_mutex
Definition at line 925 of file lock0lock.h.