MySQL 8.4.0
Source Code Documentation
Is_worker Class Reference

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

Inheritance diagram for Is_worker:

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 ( )

Member Function Documentation

◆ get_count()

int Is_worker::get_count ( )

◆ operator()()

void Is_worker::operator() ( THD thd)

Implements Do_THD_Impl.

Member Data Documentation

◆ m_count

int Is_worker::m_count

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