![]() |
MySQL 9.0.0
Source Code Documentation
|
A service to deliver a signal to host application. More...
#include <host_application_signal.h>
Public Attributes | |
mysql_service_status_t(* | signal )(int signal_no, void *arg) |
Send a signal. More... | |
A service to deliver a signal to host application.
Typically there'll be just one implementation of this by the main application.
Other parties interested in listening to shutdown may override the default implementation with a broadcast one and have multiple implementations receiving the shutdown signal. Or do message queueing to a set of background threads etc.
mysql_service_status_t(* s_mysql_host_application_signal::signal) (int signal_no, void *arg) |
Send a signal.
Can send one of host_application_signal_signals
signal_no | The signal to trigger |
arg | Signal dependent argument |
false | success (valid password) |
true | failure (invalid password) |