MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stage_manager Class Reference

#include <binlog.h>

Classes

class  Mutex_queue

Public Types

enum  StageID { FLUSH_STAGE, SYNC_STAGE, COMMIT_STAGE, STAGE_COUNTER }

Public Member Functions

class Stage_manager::Mutex_queue __attribute__ ((aligned(CPU_LEVEL1_DCACHE_LINESIZE)))
void init ()
void deinit ()
bool enroll_for (StageID stage, THD *first, mysql_mutex_t *stage_mutex)
std::pair< bool, THD * > pop_front (StageID stage)
void clear_preempt_status (THD *head)
THD * fetch_queue_for (StageID stage)
void signal_done (THD *queue)

Public Attributes

enum Stage_manager::StageID __attribute__

Detailed Description

Class for maintaining the commit stages for binary log group commit.

Definition at line 31 of file binlog.h.

Member Enumeration Documentation

Constants for queues for different stages.

Definition at line 103 of file binlog.h.

Member Function Documentation

THD* Stage_manager::fetch_queue_for ( StageID  stage)
inline

Fetch the entire queue and empty it.

Returns
Pointer to the first session of the queue.

Definition at line 197 of file binlog.h.

Here is the call graph for this function:


The documentation for this class was generated from the following files: