MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
thr_repository::send_buffer Struct Reference
Collaboration diagram for thr_repository::send_buffer:

Public Attributes

struct thr_spin_lock< 8 > m_send_lock
struct thr_send_buffer m_buffer
Uint32 m_force_send
Uint32 m_send_thread
Uint32 m_bytes
Uint32 m_read_index [MAX_THREADS]

Detailed Description

send buffer handling

Definition at line 966 of file mt.cpp.

Member Data Documentation

struct thr_send_buffer thr_repository::send_buffer::m_buffer

pending data

Definition at line 976 of file mt.cpp.

Uint32 thr_repository::send_buffer::m_bytes

bytes pending for this node

Definition at line 997 of file mt.cpp.

Uint32 thr_repository::send_buffer::m_force_send

Flag used to coordinate sending to same remote node from different threads.

If two threads need to send to the same node at the same time, the second thread, rather than wait for the first to finish, will just set this flag, and the first thread will do an extra send when done with the first.

Definition at line 987 of file mt.cpp.

struct thr_spin_lock< 8 > thr_repository::send_buffer::m_send_lock

lock

Definition at line 971 of file mt.cpp.

Uint32 thr_repository::send_buffer::m_send_thread

Which thread is currently holding the m_send_lock

Definition at line 992 of file mt.cpp.


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