开发者

SIGHUP & SIGCONT

开发者 https://www.devze.com 2023-01-30 08:28 出处:网络
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 \"k

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消