MySQL 8.4.2
Source Code Documentation
|
Register with MySQL infrastructure. More...
#include <os0thread-create.h>
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... | |
THD * | create_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... | |
Register with MySQL infrastructure.
|
inlineexplicit |
Constructor for the Runnable object.
[in] | pfs_key | Performance schema key |
[in] | pfs_seqnum | Performance schema sequence number |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
Destroy a THD instance.
[in,out] | thd | Instance to destroy. |
|
inlineprotected |
Deregister the thread.
|
inlineprotected |
Register the thread with the server.
|
protected |
Performance schema key.
|
protected |
Performance schema sequence number.