![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Execute in the context of a non detached MySQL thread. More...
#include <os0thread-create.h>
Public Member Functions | |
| Runnable (mysql_pfs_key_t pfs_key, PSI_thread_seqnum pfs_seqnum) | |
| Constructor for the Runnable object.  More... | |
| template<typename F , typename... Args> | |
| dberr_t | operator() (F &&f, Args &&...args) | 
| Method to execute the callable.  More... | |
  Public Member Functions inherited from MySQL_thread | |
| MySQL_thread (mysql_pfs_key_t pfs_key, PSI_thread_seqnum pfs_seqnum) | |
| Constructor for the Runnable object.  More... | |
Additional Inherited Members | |
  Protected Member Functions inherited from MySQL_thread | |
| 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 inherited from MySQL_thread | |
| const mysql_pfs_key_t | m_pfs_key | 
| Performance schema key.  More... | |
| PSI_thread_seqnum | m_pfs_seqnum | 
| Performance schema sequence number.  More... | |
Execute in the context of a non detached MySQL thread.
      
  | 
  inlineexplicit | 
Constructor for the Runnable object.
| [in] | pfs_key | Performance schema key | 
| [in] | pfs_seqnum | Performance schema sequence number | 
      
  | 
  inline | 
Method to execute the callable.
| [in] | f | Callable object | 
| [in] | args | Variable number of args to F | 
| f | return value. |