MySQL 8.4.2
Source Code Documentation
s_mysql_host_application_signal Struct Reference

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...
 

Detailed Description

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.

See also
mysql_component_host_application_signal_imp

Member Data Documentation

◆ signal

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

Parameters
signal_noThe signal to trigger
argSignal dependent argument
Returns
Status of performed operation
Return values
falsesuccess (valid password)
truefailure (invalid password)
See also
my_host_application_signal

The documentation for this struct was generated from the following file: