summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f16fe49)
Try to fix the situation where parent process stops before
child has acknowledged it .. SIGUSR2 back!
if (child_pid)
{
/* relay signal to child */
if (child_pid)
{
/* relay signal to child */
- child_got_signal_from_us = 1;
kill(child_pid, num);
}
}
static void sigusr2_handler(int num)
{
kill(child_pid, num);
}
}
static void sigusr2_handler(int num)
{
+ child_got_signal_from_us = 1;
}
static pid_t keepalive_pid = 0;
}
static pid_t keepalive_pid = 0;