SIGHUP & SIGCONT
Could you please explain me the logic of UNIX signal system: firstly it sends SIGHUP signal to process group and then it send SIGCONT s开发者_如何学JAVAignal in spite of the main idea of SIGHUP is "kill yourself, there is no terminal anymore"?
In case the process was stopped with SIGSTOP
(which, for example, happens when you press CTRL+Z) and can't respond to SIGHUP
because of that.
精彩评论