linux两个子进程通信,test2 Linux软中断通信。 由父进程创建两个子进程 联合开发网 - pudn.com...

test2

所属分类:Linux/Unix编程

开发工具:Unix_Linux

文件大小:1KB

下载次数:4

上传日期:2013-11-22 11:12:14

上 传 者:爱哦几点

说明:  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.)

文件列表:[举报垃圾]

近期下载者:

相关文件:

收藏者:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值