Description: Topic: process piping communication
Content: this is a design model experiment, the requirement to programming.
Use system call pipe () to establish a pipe, two sons to write a process piping,
Money is a macro was not found process1 delivery!
Money is a macro was not found process2 delivery!
The parent process piping from two read from the process of information displayed on a screen.
Requirements:
1) parent to receive the messages from one child processes, and then receive child processes of 2.
2 the exclusive use of tube), when a child processes are for write operation, another child processes must wait. Use the system calls lockf (fd [1], 1,0) of the pipeline, lockf with lock (fd [1] on pipeline, 0,0) of the lock.
3) the synchronous process, and the data into the child process piping, then go to sleep
To Search:
- [01] - Write a program to achieve the process o
- [process-pipe] - One based on the parent process and chil
- [pipe] - Inter-process communication methods have
File list (Check if you may need any files):
进程的管道通信实验.doc