MySQL 9.0.0
Source Code Documentation
Find_THD_variable Class Reference

Get and lock a validated THD from the thread manager. More...

#include <pfs_variable.h>

Inheritance diagram for Find_THD_variable:
[legend]

Public Member Functions

 Find_THD_variable ()
 
 Find_THD_variable (THD *unsafe_thd)
 
bool operator() (THD *thd) override
 Override this operator to provide implementation to find specific thd. More...
 
void set_unsafe_thd (THD *unsafe_thd)
 
- Public Member Functions inherited from Find_THD_Impl
virtual ~Find_THD_Impl ()=default
 

Private Attributes

THDm_unsafe_thd
 

Detailed Description

Get and lock a validated THD from the thread manager.

Constructor & Destructor Documentation

◆ Find_THD_variable() [1/2]

Find_THD_variable::Find_THD_variable ( )
inline

◆ Find_THD_variable() [2/2]

Find_THD_variable::Find_THD_variable ( THD unsafe_thd)
inlineexplicit

Member Function Documentation

◆ operator()()

bool Find_THD_variable::operator() ( THD thd)
overridevirtual

Override this operator to provide implementation to find specific thd.

Parameters
thdTHD of one element in global thread list
Returns
bool
Return values
truefor matching thd false otherwise

Implements Find_THD_Impl.

◆ set_unsafe_thd()

void Find_THD_variable::set_unsafe_thd ( THD unsafe_thd)
inline

Member Data Documentation

◆ m_unsafe_thd

THD* Find_THD_variable::m_unsafe_thd
private

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