MySQL 26.7.0
Source Code Documentation
thread_srv.h File Reference
#include <atomic>
#include <cstdint>
#include <functional>
#include "mysql/concurrency/condition_variable_wrapper.h"
#include "mysql/psi/mysql_cond.h"
#include "mysql/psi/mysql_memory.h"
#include "mysql/psi/mysql_thread.h"
#include "mysql/concurrency/thread_srv_impl.hpp"

Go to the source code of this file.

Classes

class  mysql::concurrency::Thread
 Wrapper to mysql thread, which matches interface of std::thread. More...
 

Namespaces

namespace  mysql
 
namespace  mysql::concurrency
 

Macros

#define MDEF_TH_KEY(key)   key,
 
#define MDEF_CREATE_THREAD(thread_key, callable, ...)    mysql::concurrency::Thread(thread_key, callable, __VA_ARGS__)
 

Typedefs

using mysql::concurrency::Thread_key = PSI_thread_key
 

Functions

unsigned long long mysql::concurrency::fetch_thread_mysql_id (std::size_t my_internal_id)
 Fetches internal id, PSI id in case linked with mysqld, or internal thread id. More...
 

Macro Definition Documentation

◆ MDEF_CREATE_THREAD

#define MDEF_CREATE_THREAD (   thread_key,
  callable,
  ... 
)     mysql::concurrency::Thread(thread_key, callable, __VA_ARGS__)

◆ MDEF_TH_KEY

#define MDEF_TH_KEY (   key)    key,