mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Removed scheduler struct for now
This commit is contained in:
@ -38,19 +38,6 @@
|
|||||||
#include <sql_profile.h>
|
#include <sql_profile.h>
|
||||||
#include <table.h>
|
#include <table.h>
|
||||||
|
|
||||||
struct scheduler_functions
|
|
||||||
{
|
|
||||||
uint max_threads;
|
|
||||||
bool (*init)(void);
|
|
||||||
bool (*init_new_connection_thread)(void);
|
|
||||||
void (*add_connection)(THD *thd);
|
|
||||||
void (*thd_wait_begin)(THD *thd, int wait_type);
|
|
||||||
void (*thd_wait_end)(THD *thd);
|
|
||||||
void (*post_kill_notification)(THD *thd);
|
|
||||||
bool (*end_thread)(THD *thd, bool cache_thread);
|
|
||||||
void (*end)(void);
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Needed to get access to scheduler variables */
|
/* Needed to get access to scheduler variables */
|
||||||
void* thd_get_scheduler(THD *thd);
|
void* thd_get_scheduler(THD *thd);
|
||||||
PSI_thread* thd_get_psi(THD *thd);
|
PSI_thread* thd_get_psi(THD *thd);
|
||||||
|
Reference in New Issue
Block a user