阅读背景:

将期限信号发送到父进程的另一个线程中生成的子进程

来源:互联网 

I'm on Linux platform and using Perl. First of all I created a thread, and forked a child process in this new thread. When the parent in the new thread returned and joined to the main thread, I would like to send TERM signal to the child process spawned in the created thread, but the signal handler doesn't work, and the child process becomes zombie. Here's my code:I'm on Linux platform and using Perl. First of




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

分享到: