文件名称:test2
-
所属分类:
- 标签属性:
- 上传时间:2013-11-22
-
文件大小:1.2kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.