文件名称:popeconnect
介绍说明--下载内容来自于网络,使用问题请自行百度
实现进程的管道通信。用系统调用pipe( )建立一管道,二个子进程P1和P2分别向管道各写一句话:
Child 1 is sending a message!
Child 2 is sending a message!
父进程从管道中读出二个来自子进程的信息并显示(要求先接收P1,后P2)。
-process of the realization of the communication channel. With system call pipe () to establish a pipeline, the process of two-P1 and P2 respectively to the pipeline was a sentence : Child 1 is sending a message! Child 2 is sending a message! Father process from the pipeline read out from the two sub-process and display information (required first to receive P1, After P2).
Child 1 is sending a message!
Child 2 is sending a message!
父进程从管道中读出二个来自子进程的信息并显示(要求先接收P1,后P2)。
-process of the realization of the communication channel. With system call pipe () to establish a pipeline, the process of two-P1 and P2 respectively to the pipeline was a sentence : Child 1 is sending a message! Child 2 is sending a message! Father process from the pipeline read out from the two sub-process and display information (required first to receive P1, After P2).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验四进程的管道通信.txt
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.