|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Sigaction can send pid?
I wait for the process of the main elements of the withdrawal process SIGCHLD, hoping to get the process pid son, not like signal. . . Is not to use sigaction? Canal only ask how insurance? (News may have many elements from the process) |
Sigaction can send pid?
Can be used SIGNAL
Void my_dead_chld (int sig)
{
Int stat, pid;
Pid = wait (&stat);
Signal (SIGCLD, my_dead_chld);
Signal (SIGCHLD, my_dead_chld);
LEAVES OF 13 SPECIES OF LAURACEAE other treatments */
}
If the process of calling many elements, rather than deal with the remaining dry, or use array chain PID record, the other, and you also specific characteristics related to the operating system. SIGCLD SIGCHLD, and you can test to see who is the most effective. |
| |