f******r 发帖数: 45 | 1 【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: floatair (), 信区: Linux
标 题: 请教:UNIX下process之间的signal问题
发信站: The unknown SPACE (Wed Jul 24 22:04:25 2002) WWW-POST
A parent process forks into many child processes. If one of the child
processes sends a non-termination signal (e.g. an ALRM) to parent process, how
can the parent process catch the pid of the child process?
(I know we can use wait() to get the pid of a termination (INI) signal ) |
|