MySQL 26.7.0
Source Code Documentation
mysql::scheduler::Thread_pool_psi Struct Reference

Thread_pool instrumentation parameters, packed into this structure to simplify construction of a Thread_pool class instance and prevent mistakes when passing a lot of integer parameters into the class constructor. More...

#include <thread_pool_psi.h>

Public Attributes

concurrency::Thread_key key_thread_worker {0}
 thread: worker thread key More...
 
concurrency::Stage_key key_stage_waiting {0}
 stage: waiting for work More...
 
concurrency::Stage_key key_stage_executing {0}
 stage: executing task More...
 
concurrency::Stage_key key_stage_stopped {0}
 stage: thread stopped More...
 
allocators::Memory_resource memory_resource {}
 memory: memory instrumentation object (thread pool queue) More...
 

Detailed Description

Thread_pool instrumentation parameters, packed into this structure to simplify construction of a Thread_pool class instance and prevent mistakes when passing a lot of integer parameters into the class constructor.

Member Data Documentation

◆ key_stage_executing

concurrency::Stage_key mysql::scheduler::Thread_pool_psi::key_stage_executing {0}

stage: executing task

◆ key_stage_stopped

concurrency::Stage_key mysql::scheduler::Thread_pool_psi::key_stage_stopped {0}

stage: thread stopped

◆ key_stage_waiting

concurrency::Stage_key mysql::scheduler::Thread_pool_psi::key_stage_waiting {0}

stage: waiting for work

◆ key_thread_worker

concurrency::Thread_key mysql::scheduler::Thread_pool_psi::key_thread_worker {0}

thread: worker thread key

◆ memory_resource

allocators::Memory_resource mysql::scheduler::Thread_pool_psi::memory_resource {}

memory: memory instrumentation object (thread pool queue)


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