阅读背景:

使用C ++中的Linux系统调用获取我的孩子的pid

来源:互联网 

I have a process that interfaces with a library that launches another process. Occasionally this process gets stuck and my program blocks in a call to the library. I would like to detect when this has happened (which I am doing currently), and send a kill signal to all these hung processes that are a child of me.I have a process that interfaces with a library




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: