MySQL 9.1.0
Source Code Documentation
mysql_component_host_application_signal_imp Class Reference

An implementation of host application signal service for the mysql server as a host application. More...

#include <host_application_signal_imp.h>

Static Public Member Functions

static mysql_service_status_t signal (int signal_no, void *arg) noexcept
 Process signals for the mysql server binary. More...
 

Detailed Description

An implementation of host application signal service for the mysql server as a host application.

Member Function Documentation

◆ signal()

mysql_service_status_t mysql_component_host_application_signal_imp::signal ( int  signal_no,
void *  arg 
)
staticnoexcept

Process signals for the mysql server binary.

Signals accepted:

  • HOST_APPLICATION_SIGNAL_SHUTDOWN Initiate a normal server shutdown by calling kill_mysql(). Ignore the argument. Also log a message to the server log at start.
Parameters
signal_noone of host_application_signal_signals
argSignal argument. Currently ignored.
Return values
falsesuccess
truefailure
See also
mysql_service_host_application_signal_t

The documentation for this class was generated from the following files: