24#ifndef DELAYED_PLUGIN_INITIALIZATION_INCLUDE
25#define DELAYED_PLUGIN_INITIALIZATION_INCLUDE
Definition: delayed_plugin_initialization.h:29
void signal_thread_ready()
Signals the plugin initialization thread that the server is ready.
Definition: delayed_plugin_initialization.cc:61
mysql_cond_t server_ready_cond
Definition: delayed_plugin_initialization.h:94
int launch_initialization_thread()
Initialize a thread where the plugin services will be initialized.
Definition: delayed_plugin_initialization.cc:102
void wait_for_read_mode()
Wait for the read mode to be set by the thread process.
Definition: delayed_plugin_initialization.cc:90
~Delayed_initialization_thread()
The class destructor.
Definition: delayed_plugin_initialization.cc:54
bool is_super_read_only_set
Definition: delayed_plugin_initialization.h:85
Delayed_initialization_thread()
Definition: delayed_plugin_initialization.cc:43
void signal_read_mode_ready()
Signal that the read mode is set on the server.
Definition: delayed_plugin_initialization.cc:83
mysql_mutex_t run_lock
Definition: delayed_plugin_initialization.h:91
thread_state delayed_thd_state
Definition: delayed_plugin_initialization.h:79
my_thread_handle delayed_init_pthd
Definition: delayed_plugin_initialization.h:89
bool is_server_ready
Definition: delayed_plugin_initialization.h:82
int initialization_thread_handler()
The thread handler.
Definition: delayed_plugin_initialization.cc:129
void wait_for_thread_end()
Wait for the initialization thread to do its job.
Definition: delayed_plugin_initialization.cc:68
mysql_mutex_t server_ready_lock
Definition: delayed_plugin_initialization.h:93
mysql_cond_t run_cond
Definition: delayed_plugin_initialization.h:92
Definition: my_thread_bits.h:58
An instrumented cond structure.
Definition: mysql_cond_bits.h:50
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50
Definition: plugin_utils.h:48