MySQL 8.4.2
Source Code Documentation
my_host_application_signal.h File Reference

Convenience wrappers for mysql_service_host_application_signal_t. More...

Go to the source code of this file.

Functions

template<int signal_number, typename arg_type >
bool my_host_application_signal (const mysql_service_registry_t *registry, arg_type argument)
 Template to simplify sending application signals via the mysql_service_host_application_signal_t service. More...
 
bool my_host_application_signal_shutdown (const mysql_service_registry_t *registry)
 Ease of use utility function to emit the HOST_APPLICATION_SIGNAL_SHUTDOWN signal via mysql_service_host_application_signal_t. More...
 

Detailed Description

Convenience wrappers for mysql_service_host_application_signal_t.

Function Documentation

◆ my_host_application_signal()

template<int signal_number, typename arg_type >
bool my_host_application_signal ( const mysql_service_registry_t registry,
arg_type  argument 
)

Template to simplify sending application signals via the mysql_service_host_application_signal_t service.

◆ my_host_application_signal_shutdown()

bool my_host_application_signal_shutdown ( const mysql_service_registry_t registry)
inline

Ease of use utility function to emit the HOST_APPLICATION_SIGNAL_SHUTDOWN signal via mysql_service_host_application_signal_t.

See also
host_application_signal, mysql_service_host_application_signal_t
Parameters
registrythe registry handle to use
Return values
truefailure
falsesuccess