文件名称:program
介绍说明--下载内容均来自于网络,请自行研究使用
编写一段程序,同时父进程创建两个子进程p1和p2;并使子进程p1与子进程p2通过共享存储区相互发送数据(512字节)。
(1)掌握系统调用shmget()、shmat()、shmdt()、shmctl()的使用方法及其功能,理解共享存储区通信原理;
(2)系统理解linux 的三种通信机制。
-Write a program, while the parent process creates two child processes p1 and p2 make child process child process p1 and p2 send to each other through shared memory data (512 bytes). (A) master system calls shmget (), shmat (), shmdt (), shmctl () function to use and understand the shared memory communication theory (2) Three linux system understandable communication mechanism.
(1)掌握系统调用shmget()、shmat()、shmdt()、shmctl()的使用方法及其功能,理解共享存储区通信原理;
(2)系统理解linux 的三种通信机制。
-Write a program, while the parent process creates two child processes p1 and p2 make child process child process p1 and p2 send to each other through shared memory data (512 bytes). (A) master system calls shmget (), shmat (), shmdt (), shmctl () function to use and understand the shared memory communication theory (2) Three linux system understandable communication mechanism.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
program.docx