MySQL 8.0.39
Source Code Documentation
|
Callback function used by kill_one_thread and timer_notify functions to find "thd" based on the thread id. More...
#include <mysqld_thd_manager.h>
Public Member Functions | |
Find_thd_with_id (my_thread_id value, bool daemon_allowed=false) | |
bool | operator() (THD *thd) override |
Override this operator to provide implementation to find specific thd. More... | |
Public Member Functions inherited from Find_THD_Impl | |
virtual | ~Find_THD_Impl ()=default |
Public Attributes | |
const my_thread_id | m_thread_id |
const bool | m_daemon_allowed |
Callback function used by kill_one_thread and timer_notify functions to find "thd" based on the thread id.
|
inline |
|
overridevirtual |
Override this operator to provide implementation to find specific thd.
thd | THD of one element in global thread list |
true | for matching thd false otherwise |
Implements Find_THD_Impl.
const bool Find_thd_with_id::m_daemon_allowed |
const my_thread_id Find_thd_with_id::m_thread_id |