SIGHUP & SIGCONT

Could you explain to me the logic of the UNIX signaling system: firstly, it sends a SIGHUP signal to process the group, and then it sends a SIGCONT signal, despite the fact that the main idea of ​​SIGHUP is to "kill yourself, there is no longer a terminal"?

+4
source share
1 answer

If the process was stopped using SIGSTOP (which, for example, happens when you press CTRL + Z) and cannot respond to SIGHUP because of this.

+3
source

All Articles