小编Rya*_*n J的帖子

为什么在成为孤立进程组时没有收到SIGHUP信号

在关于孤立进程组的 GNU libc手册中,它提到:

“process groups that continue running even after the session leader 
has terminated are marked as orphaned process groups. 

When a process group becomes an orphan, its processes are sent a SIGHUP 
signal. Ordinarily, this causes the processes to terminate. However, 
if a program ignores this signal or establishes a handler for it 
(see Signal Handling), it can continue running as  in the orphan process
 group even after its controlling process terminates; but it still 
cannot access …
Run Code Online (Sandbox Code Playgroud)

c linux jobs process

5
推荐指数
1
解决办法
770
查看次数

标签 统计

c ×1

jobs ×1

linux ×1

process ×1