If termination of a process causes a process group to become orphaned, and some member is stopped, then all are sent first SIGHUP and then SIGCONT.
In my case, the parent is the process group leader, and the child is a process in the process group. At the time that the parent dies, the child become orphan (beacuse the process group leader dies) but, apparently, the signal is not sent to the child (i want the child to die when it receives the SIGHUP as you can see in the code)
is the signal sent only to stopped processes? If yes, can i still notify the child in other way?