文件名称:jinchegndeguandaotongxin
-
所属分类:
- 标签属性:
- 上传时间:2014-11-15
-
文件大小:3.19kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写程序实现进程的管道通信。具体要求:首先使用系统调用pipe( )建立一个管道;然后分别创建2个子进程,要求2个子进程分别向管道各写一句话:“Child 1 is sending a message!” 和 “Child 2 is sending a message!” 最后,父进程从管道中读出二个来自子进程的信息并显示。-编写程序实现进程的管道通信。具体要求:首先使用系统调用pipe( )建立一个管道;然后分别创建2个子进程,要求2个子进程分别向管道各写一句话:“Child 1 is sending a message!” 和 “Child 2 is sending a message!” 最后,父进程从管道中读出二个来自子进程的信息并显示。
ON划词翻译ON实时翻译
Write a program to achieve the process of communication channels. Specific requirements: first, the use of the system call pipe () to build a pipeline and then create 2 sub process, requirement of 2 sub process respectively to the pipeline each write a word: Child 1 is sending a message! and Child 2 is sending a message! finally, the parent process the pipeline read two the sub process and display information.
ON划词翻译ON实时翻译
Write a program to achieve the process of communication channels. Specific requirements: first, the use of the system call pipe () to build a pipeline and then create 2 sub process, requirement of 2 sub process respectively to the pipeline each write a word: Child 1 is sending a message! and Child 2 is sending a message! finally, the parent process the pipeline read two the sub process and display information.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jinchegndeguandaotongxin.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.