Public Attributes | |
os_thread_id_t | id |
os_thread_t | handle |
unsigned | type:1 |
unsigned | in_use:1 |
unsigned | suspended:1 |
ib_time_t | suspend_time |
os_event_t | event |
que_thr_t * | thr |
Definition at line 759 of file srv0srv.cc.
os_event_t srv_slot_struct::event |
event used in suspending the
thread when it has nothing to do
Definition at line 768 of file srv0srv.cc.
Referenced by srv_init(), srv_master_thread(), srv_purge_thread(), srv_release_mysql_thread_if_suspended(), srv_release_threads(), and srv_suspend_mysql_thread().
os_thread_t srv_slot_struct::handle |
thread handle
Definition at line 761 of file srv0srv.cc.
os_thread_id_t srv_slot_struct::id |
unsigned srv_slot_struct::in_use |
TRUE if this slot is in use
Definition at line 763 of file srv0srv.cc.
Referenced by srv_lock_timeout_thread(), srv_purge_thread(), srv_release_mysql_thread_if_suspended(), srv_release_threads(), srv_suspend_mysql_thread(), and srv_thread_has_reserved_slot().
ib_time_t srv_slot_struct::suspend_time |
time when the thread was
suspended
Definition at line 766 of file srv0srv.cc.
Referenced by srv_lock_timeout_thread(), and srv_suspend_mysql_thread().
unsigned srv_slot_struct::suspended |
TRUE if the thread is waiting
for the event of this slot
Definition at line 764 of file srv0srv.cc.
Referenced by srv_release_threads().
que_thr_t* srv_slot_struct::thr |
suspended query thread (only
used for MySQL threads)
Definition at line 770 of file srv0srv.cc.
Referenced by srv_lock_timeout_thread(), srv_release_mysql_thread_if_suspended(), and srv_suspend_mysql_thread().
unsigned srv_slot_struct::type |
thread type: user, utility etc.
Definition at line 762 of file srv0srv.cc.
Referenced by srv_thread_has_reserved_slot().