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

#include <constants.h>

Static Public Attributes

static constexpr unsigned int max_instances = 256
 The maximum number of scheduler instances supported This value should be aligned with the 'MAX_CHANNELS' defined in the server. More...
 
static constexpr unsigned int max_thread_count = 1024
 The maximum number of threads in the thread pool This value should be aligned with the MTS_MAX_WORKERS defined in the server. More...
 
static constexpr unsigned int scheduler_thread_id = max_thread_count
 Scheduler thread id constant, used by the scheduler thread (max) More...
 
static constexpr unsigned int invalid_thread_id
 Invalid thread id constant, used by the scheduler thread. More...
 

Member Data Documentation

◆ invalid_thread_id

constexpr unsigned int mysql::scheduler::Constants::invalid_thread_id
inlinestaticconstexpr
Initial value:
=
ValueType max(X &&first)
Definition: gtid.h:103

Invalid thread id constant, used by the scheduler thread.

◆ max_instances

constexpr unsigned int mysql::scheduler::Constants::max_instances = 256
inlinestaticconstexpr

The maximum number of scheduler instances supported This value should be aligned with the 'MAX_CHANNELS' defined in the server.

◆ max_thread_count

constexpr unsigned int mysql::scheduler::Constants::max_thread_count = 1024
inlinestaticconstexpr

The maximum number of threads in the thread pool This value should be aligned with the MTS_MAX_WORKERS defined in the server.

◆ scheduler_thread_id

constexpr unsigned int mysql::scheduler::Constants::scheduler_thread_id = max_thread_count
inlinestaticconstexpr

Scheduler thread id constant, used by the scheduler thread (max)


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