MySQL 8.4.2
Source Code Documentation
mysql_router_thread.h File Reference
#include "harness_export.h"
#include <pthread.h>
#include <sched.h>
#include <stdexcept>

Go to the source code of this file.

Classes

struct  mysql_harness::mysql_router_thread_handle
 
class  mysql_harness::MySQLRouterThread
 MySQLRouterThread provides higher level interface to managing threads. More...
 

Namespaces

namespace  mysql_harness
 

Macros

#define MYSQL_ROUTER_THREAD_CREATE_JOINABLE   PTHREAD_CREATE_JOINABLE
 
#define MYSQL_ROUTER_THREAD_CREATE_DETACHED   PTHREAD_CREATE_DETACHED
 

Typedefs

typedef pthread_t mysql_harness::mysql_router_thread_t
 
typedef pthread_attr_t mysql_harness::mysql_router_thread_attr_t
 
typedef void *(* mysql_harness::my_start_routine) (void *)
 

Variables

static const size_t mysql_harness::kDefaultStackSizeInKiloBytes = 1024
 
static constexpr mysql_router_thread_t mysql_harness::null_thread_initializer
 

Macro Definition Documentation

◆ MYSQL_ROUTER_THREAD_CREATE_DETACHED

#define MYSQL_ROUTER_THREAD_CREATE_DETACHED   PTHREAD_CREATE_DETACHED

◆ MYSQL_ROUTER_THREAD_CREATE_JOINABLE

#define MYSQL_ROUTER_THREAD_CREATE_JOINABLE   PTHREAD_CREATE_JOINABLE