24#ifndef MY_HOST_APPLICATION_SIGNAL_H
25#define MY_HOST_APPLICATION_SIGNAL_H
39template <
int signal_number,
typename arg_type>
43 "host_application_signal", registry);
45 return host_app->signal(signal_number, argument);
60 return my_host_application_signal<HOST_APPLICATION_SIGNAL_SHUTDOWN, void *>(
Wraps my_h_service struct conforming ABI into RAII C++ object with ability to cast to desired service...
Definition: my_service.h:35
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_ho...
Definition: my_host_application_signal.h:58
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 serv...
Definition: my_host_application_signal.h:40
arg_type
Definition: mysqltest.cc:1148
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76