Thread local data. The private data for each thread should be put to the structure below and the accessor functions written for the field. More...
Public Attributes | |
os_thread_id_t | id |
os_thread_t | handle |
ulint | slot_no |
ibool | in_ibuf |
hash_node_t | hash |
ulint | magic_n |
Thread local data. The private data for each thread should be put to the structure below and the accessor functions written for the field.
Definition at line 65 of file thr0loc.cc.
os_thread_t thr_local_struct::handle |
operating system handle to the thread
Definition at line 67 of file thr0loc.cc.
Referenced by thr_local_create().
hash_node_t thr_local_struct::hash |
hash chain node
Definition at line 72 of file thr0loc.cc.
os_thread_id_t thr_local_struct::id |
id of the thread which owns this struct
Definition at line 66 of file thr0loc.cc.
Referenced by thr_local_create(), and thr_local_free().
ibool thr_local_struct::in_ibuf |
TRUE if the the thread is doing an ibuf
operation
Definition at line 70 of file thr0loc.cc.
Referenced by thr_local_create(), and thr_local_get_in_ibuf_field().
ulint thr_local_struct::magic_n |
magic number (THR_LOCAL_MAGIC_N)
Definition at line 73 of file thr0loc.cc.
Referenced by thr_local_close(), thr_local_create(), and thr_local_free().
ulint thr_local_struct::slot_no |
the index of the slot in the thread table
for this thread
Definition at line 68 of file thr0loc.cc.
Referenced by thr_local_create(), thr_local_get_slot_no(), and thr_local_set_slot_no().