MySQL 9.1.0
Source Code Documentation
Find_zombie_dump_thread Class Reference

Callback function used by kill_zombie_dump_threads() function to to find zombie dump thread from the thd list. More...

Inheritance diagram for Find_zombie_dump_thread:
[legend]

Public Member Functions

 Find_zombie_dump_thread (String value)
 
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
 

Private Attributes

String m_replica_uuid
 

Detailed Description

Callback function used by kill_zombie_dump_threads() function to to find zombie dump thread from the thd list.

Note
It acquires LOCK_thd_data mutex when it finds matching thd. It is the responsibility of the caller to release this mutex.

Constructor & Destructor Documentation

◆ Find_zombie_dump_thread()

Find_zombie_dump_thread::Find_zombie_dump_thread ( String  value)
inline

Member Function Documentation

◆ operator()()

bool Find_zombie_dump_thread::operator() ( THD thd)
inlineoverridevirtual

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.

Member Data Documentation

◆ m_replica_uuid

String Find_zombie_dump_thread::m_replica_uuid
private

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