MySQL 9.1.0
Source Code Documentation
Do_THD_Impl Class Referenceabstract

Base class to perform actions on all thds in the thd list. More...

#include <mysqld_thd_manager.h>

Inheritance diagram for Do_THD_Impl:
[legend]

Public Member Functions

virtual ~Do_THD_Impl ()=default
 
virtual void operator() (THD *)=0
 

Detailed Description

Base class to perform actions on all thds in the thd list.

Users of do_for_all_thd() need to subclass this and override operator().

Note
THD can be in the disposal state. Accessing resources freed in disposal state is not safe. Before accessing any such resources in operator() please check THD state.

Constructor & Destructor Documentation

◆ ~Do_THD_Impl()

virtual Do_THD_Impl::~Do_THD_Impl ( )
virtualdefault

Member Function Documentation

◆ operator()()


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