Drizzled Public API Documentation

thr_local_struct Struct Reference

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...

List of all members.

Public Attributes

os_thread_id_t id
os_thread_t handle
ulint slot_no
ibool in_ibuf
hash_node_t hash
ulint magic_n

Detailed Description

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.


Member Data Documentation

operating system handle to the thread

Definition at line 67 of file thr0loc.cc.

Referenced by thr_local_create().

hash chain node

Definition at line 72 of file thr0loc.cc.

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().

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().

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().

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().


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