文件名称:test2
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [Text]
- 上传时间:
- 2013-11-22
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- yong****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Linux软中断通信。
由父进程创建两个子进程,通过终端输入Crtl+\组合键向父进程发送SIGQUIT软中断信号或由系统时钟产生SIGALRM软中断信号发送给父进程;父进程接受到这两个软中断的其中某一个后,向其两个子进程分别发送整数值为16和17软中断信号,子进程获得对应软中断信号后,终止运行;父进程调用wait()函数等待两个子进程终止,然后自我终止。-Linux software interrupt communications. By the parent process creates two sub-processes, through the terminal input Crtl+ \ key combination to the parent process sends SIGQUIT soft interrupt signal generated by the system clock or soft interrupt SIGALRM signal is sent to the parent process parent process receives one of these two soft interrupt one After two sub-processes are sent to its integer value of 16 and 17 soft interrupt signal, the child process to obtain the corresponding soft interrupt signal, terminate the operation parent process calls wait () function to wait two child process terminates, then the self-termination.
由父进程创建两个子进程,通过终端输入Crtl+\组合键向父进程发送SIGQUIT软中断信号或由系统时钟产生SIGALRM软中断信号发送给父进程;父进程接受到这两个软中断的其中某一个后,向其两个子进程分别发送整数值为16和17软中断信号,子进程获得对应软中断信号后,终止运行;父进程调用wait()函数等待两个子进程终止,然后自我终止。-Linux software interrupt communications. By the parent process creates two sub-processes, through the terminal input Crtl+ \ key combination to the parent process sends SIGQUIT soft interrupt signal generated by the system clock or soft interrupt SIGALRM signal is sent to the parent process parent process receives one of these two soft interrupt one After two sub-processes are sent to its integer value of 16 and 17 soft interrupt signal, the child process to obtain the corresponding soft interrupt signal, terminate the operation parent process calls wait () function to wait two child process terminates, then the self-termination.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
说明.txt