Drizzled Public API Documentation

srv_slot_struct Struct Reference

Public Attributes

os_thread_id_t id
 
os_thread_t handle
 
unsigned type:3
 
unsigned in_use:1
 
unsigned suspended:1
 
ib_time_t suspend_time
 
os_event_t event
 
que_thr_tthr
 

Detailed Description

Definition at line 750 of file srv0srv.cc.

Member Data Documentation

os_event_t srv_slot_struct::event
               event used in suspending the

thread when it has nothing to do

Definition at line 759 of file srv0srv.cc.

Referenced by srv_init(), 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 752 of file srv0srv.cc.

os_thread_id_t srv_slot_struct::id

thread id

Definition at line 751 of file srv0srv.cc.

Referenced by srv_release_threads().

unsigned srv_slot_struct::in_use
ib_time_t srv_slot_struct::suspend_time
                 time when the thread was

suspended

Definition at line 757 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 755 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 761 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 753 of file srv0srv.cc.

Referenced by srv_get_thread_type(), srv_init(), and srv_release_threads().


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