Description: Parent Process is Killed!
Compile a program that enables the process of soft interrupt communication. The termination of the parent process signal control subroutine.
Using the system call fork () to create two sub processes, and then the system call signal () to the parent process interrupt signal capture on the keyboard; when the capture interrupt signal, the parent process with the system call Kill () to send signals to the two sub process, sub process to capture the signal output respectively after the termination of the following information:
Child Proeess 1, is, Killed, by, Parent!
Child Process 2, is, Killed, by, Parent!
When the parent process waits for the two child process to terminate, the following message is terminated after outputting the following information:
Parent Process is Killed!
To Search:
File list (Check if you may need any files):
软中断通信\a3.c
软中断通信\软中断通信.txt
软中断通信