MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
srv_slot_t Struct Reference

#include <srv0srv.h>

Collaboration diagram for srv_slot_t:

Public Attributes

srv_thread_type type
ibool in_use
ibool suspended
ib_time_t suspend_time
ulong wait_timeout
os_event_t event
que_thr_tthr

Detailed Description

Thread slot in the thread table.

Definition at line 851 of file srv0srv.h.

Member Data Documentation

os_event_t srv_slot_t::event

event used in suspending the thread when it has nothing to do

Definition at line 868 of file srv0srv.h.

ibool srv_slot_t::in_use

TRUE if this slot is in use

Definition at line 854 of file srv0srv.h.

ib_time_t srv_slot_t::suspend_time

time when the thread was suspended. Initialized by lock_wait_table_reserve_slot() for lock wait

Definition at line 859 of file srv0srv.h.

ibool srv_slot_t::suspended

TRUE if the thread is waiting for the event of this slot

Definition at line 856 of file srv0srv.h.

que_thr_t* srv_slot_t::thr

suspended query thread (only used for user threads)

Definition at line 871 of file srv0srv.h.

srv_thread_type srv_slot_t::type

thread type: user, utility etc.

Definition at line 852 of file srv0srv.h.

ulong srv_slot_t::wait_timeout

wait time that if exceeded the thread will be timed out. Initialized by lock_wait_table_reserve_slot() for lock wait

Definition at line 863 of file srv0srv.h.


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