MySQL 8.0.32
Source Code Documentation
MySQL_thread Class Reference

Register with MySQL infrastructure. More...

#include <os0thread-create.h>

Inheritance diagram for MySQL_thread:
[legend]

Public Member Functions

 MySQL_thread (mysql_pfs_key_t pfs_key, PSI_thread_seqnum pfs_seqnum)
 Constructor for the Runnable object. More...
 

Protected Member Functions

void preamble ()
 Register the thread with the server. More...
 
void epilogue ()
 Deregister the thread. More...
 
THDcreate_mysql_thd () noexcept
 
void destroy_mysql_thd (THD *thd) noexcept
 Destroy a THD instance. More...
 

Protected Attributes

const mysql_pfs_key_t m_pfs_key
 Performance schema key. More...
 
PSI_thread_seqnum m_pfs_seqnum
 Performance schema sequence number. More...
 

Detailed Description

Register with MySQL infrastructure.

Constructor & Destructor Documentation

◆ MySQL_thread()

MySQL_thread::MySQL_thread ( mysql_pfs_key_t  pfs_key,
PSI_thread_seqnum  pfs_seqnum 
)
inlineexplicit

Constructor for the Runnable object.

Parameters
[in]pfs_keyPerformance schema key
[in]pfs_seqnumPerformance schema sequence number

Member Function Documentation

◆ create_mysql_thd()

THD * MySQL_thread::create_mysql_thd ( )
inlineprotectednoexcept
Returns
a THD instance.

◆ destroy_mysql_thd()

void MySQL_thread::destroy_mysql_thd ( THD thd)
inlineprotectednoexcept

Destroy a THD instance.

Parameters
[in,out]thdInstance to destroy.

◆ epilogue()

void MySQL_thread::epilogue ( )
inlineprotected

Deregister the thread.

◆ preamble()

void MySQL_thread::preamble ( )
inlineprotected

Register the thread with the server.

Member Data Documentation

◆ m_pfs_key

const mysql_pfs_key_t MySQL_thread::m_pfs_key
protected

Performance schema key.

◆ m_pfs_seqnum

PSI_thread_seqnum MySQL_thread::m_pfs_seqnum
protected

Performance schema sequence number.


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