开发者

signal and child process

A quick and hopefully easy question.

I have a process A, which forks a开发者_Go百科 process B. When I send a signal, e.g SIGINT, will both A and B receive it?

Thanks,


Short answer: No.

From the moment fork was successful, those process will be independent from each other (except for wait() and stuff like that)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜