叹息&信号控制
你能解释一下UNIX信号系统的逻辑吗:首先它向进程组发送SIGHUP信号,然后发送SIGCONT信号,尽管SIGHUP的主要思想是“杀死你自己,不再有终端了”?
Could you please explain me the logic of UNIX signal system: firstly it sends SIGHUP signal to process group and then it send SIGCONT signal in spite of the main idea of SIGHUP is "kill yourself, there is no terminal anymore"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果进程因
SIGSTOP
停止(例如,当您按 CTRL+Z 时发生),并且因此无法响应SIGHUP
。In case the process was stopped with
SIGSTOP
(which, for example, happens when you press CTRL+Z) and can't respond toSIGHUP
because of that.