drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
srv_slot_struct Struct Reference
Collaboration diagram for srv_slot_struct:
[legend]

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

Detailed Description

Definition at line 759 of file srv0srv.cc.

Member Data Documentation

◆ event

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.

◆ handle

os_thread_t srv_slot_struct::handle

thread handle

Definition at line 761 of file srv0srv.cc.

◆ id

os_thread_id_t srv_slot_struct::id

thread id

Definition at line 760 of file srv0srv.cc.

◆ in_use

unsigned srv_slot_struct::in_use

TRUE if this slot is in use

Definition at line 763 of file srv0srv.cc.

◆ suspend_time

ib_time_t srv_slot_struct::suspend_time

time when the thread was suspended

Definition at line 766 of file srv0srv.cc.

◆ suspended

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.

◆ thr

que_thr_t* srv_slot_struct::thr

suspended query thread (only used for MySQL threads)

Definition at line 770 of file srv0srv.cc.

◆ type

unsigned srv_slot_struct::type

thread type: user, utility etc.

Definition at line 762 of file srv0srv.cc.


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