int myqttd_signal_received ( MyQttdCtx ctx,
int  _signal 

Signal notify facility.

This function is used to signal on the appropriate MyQttdCtx, a particular signal received.

ctxThe myqttd context where the signal will be handled.
_signalThe signal received.
Returns 0 or the pid in the case the signal is SIGHLD.

References msg, myqtt_mutex_lock(), myqtt_mutex_unlock(), and myqttd_reload_config().