MySQL  8.0.27
Source Code Documentation
mysqld_thd_manager.h File Reference
#include <assert.h>
#include <stddef.h>
#include <sys/types.h>
#include <atomic>
#include "my_inttypes.h"
#include "my_thread_local.h"
#include "mysql/components/services/mysql_cond_bits.h"
#include "mysql/components/services/mysql_mutex_bits.h"
#include "prealloced_array.h"

Go to the source code of this file.

Classes

class  Do_THD_Impl
 Base class to perform actions on all thds in the thd list. More...
 
class  Find_THD_Impl
 Base class to find specific thd from the thd list. More...
 
class  Find_thd_with_id
 Callback function used by kill_one_thread and timer_notify functions to find "thd" based on the thread id. More...
 
class  THD_ptr
 This class encapsulates THD instance, controls access to the actual THD. More...
 
class  Global_THD_manager
 This class maintains THD object of all registered threads. More...
 

Functions

void thd_lock_thread_count ()
 
void thd_unlock_thread_count ()
 

Function Documentation

◆ thd_lock_thread_count()

void thd_lock_thread_count ( )

◆ thd_unlock_thread_count()

void thd_unlock_thread_count ( )