MySQL 8.4.2
Source Code Documentation
Is_worker Class Reference

This class implements callback for do_for_all_thd(). More...

Inheritance diagram for Is_worker:
[legend]

Public Member Functions

 Is_worker ()
 
void operator() (THD *thd) override
 
int get_count ()
 
- Public Member Functions inherited from Do_THD_Impl
virtual ~Do_THD_Impl ()=default
 

Private Attributes

int m_count
 

Detailed Description

This class implements callback for do_for_all_thd().

It counts the total number of living event worker threads from global thread list.

Constructor & Destructor Documentation

◆ Is_worker()

Is_worker::Is_worker ( )
inline

Member Function Documentation

◆ get_count()

int Is_worker::get_count ( )
inline

◆ operator()()

void Is_worker::operator() ( THD thd)
inlineoverridevirtual

Implements Do_THD_Impl.

Member Data Documentation

◆ m_count

int Is_worker::m_count
private

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