26#ifndef SERVICE_THREAD_SCHEDULER_INCLUDED
27#define SERVICE_THREAD_SCHEDULER_INCLUDED
42#ifdef MYSQL_DYNAMIC_PLUGIN
44#define my_connection_handler_set(F, M) \
45 my_thread_scheduler_service->connection_handler_set((F), (M))
46#define my_connection_handler_reset() \
47 my_thread_scheduler_service->connection_handler_reset()
struct my_thread_scheduler_service * my_thread_scheduler_service
int my_connection_handler_reset()
Destroys the current connection handler and restores the previous.
Definition: connection_handler_manager.cc:304
int my_connection_handler_set(struct Connection_handler_functions *chf, struct THD_event_functions *tef)
Instantiates Plugin_connection_handler based on the supplied Conection_handler_functions and sets it ...
Definition: connection_handler_manager.cc:287
This structure must be populated by plugins which implement connection handlers and passed as an argu...
Definition: thread_pool_priv.h:64
Functions to notify interested connection handlers of events like beginning of wait and end of wait a...
Definition: connection_handler_manager.h:47
Definition: service_thread_scheduler.h:36
int(* connection_handler_set)(struct Connection_handler_functions *, struct THD_event_functions *)
Definition: service_thread_scheduler.h:37
int(* connection_handler_reset)()
Definition: service_thread_scheduler.h:39