(handle_USR1_signal, handle_USR2_signal): Replace by...
(handle_user_signal): ... this, which generates two USER_SIGNAL_EVENTs first with code == 0 [signal] and one with code == sig number. (main): Use it as handler for SIGUR1 and SIGUSR2.
Showing
Please register or sign in to comment