文件名称:Semaphore
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 99kb
- 下载次数:
- 0次
- 提 供 者:
- 陈*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
进程通信与进程同步机制实践
有三个进程R、M、P,分别负责从键盘读入数据、对读入的数据进行处理、将处理后的数据从屏幕输出,三个进程共享同一个缓冲区。试用操作系统提供的进程通信和同步机制,使三个进程能够相互协作,正确的完成数据的读入、处理和输出。 -Process communication and process synchronization mechanism in practice the process has three R, M, P, respectively read from the keyboard data, the data read into the deal, will deal with data from the screen output, the three processes share the same buffer . Trial process of the operating system to provide communication and synchronization mechanism so that the three processes can work together, the correct completion of the read data, process and output.
有三个进程R、M、P,分别负责从键盘读入数据、对读入的数据进行处理、将处理后的数据从屏幕输出,三个进程共享同一个缓冲区。试用操作系统提供的进程通信和同步机制,使三个进程能够相互协作,正确的完成数据的读入、处理和输出。 -Process communication and process synchronization mechanism in practice the process has three R, M, P, respectively read from the keyboard data, the data read into the deal, will deal with data from the screen output, the three processes share the same buffer . Trial process of the operating system to provide communication and synchronization mechanism so that the three processes can work together, the correct completion of the read data, process and output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
代码
....\创建共享区
....\..........\1.cpp
....\..........\1.dsp
....\..........\1.dsw
....\..........\1.ncb
....\..........\1.opt
....\..........\1.plg
....\..........\dd.dsp
....\..........\dd.dsw
....\..........\dd.ncb
....\..........\dd.opt
....\数据处理
....\........\1.cpp
....\........\manu.dsp
....\........\manu.dsw
....\........\manu.ncb
....\........\manu.opt
....\........\manu.plg
....\课程设计报告格式.doc
....\输入数据
....\........\1.cpp
....\........\write.dsp
....\........\write.dsw
....\........\write.ncb
....\........\write.opt
....\........\write.plg
....\输出数据
....\........\1.cpp
....\........\read.dsp
....\........\read.dsw
....\........\read.ncb
....\........\read.opt
....\........\read.plg
....\进程M.txt
....\进程P.txt
....\进程R.txt
....\创建共享区
....\..........\1.cpp
....\..........\1.dsp
....\..........\1.dsw
....\..........\1.ncb
....\..........\1.opt
....\..........\1.plg
....\..........\dd.dsp
....\..........\dd.dsw
....\..........\dd.ncb
....\..........\dd.opt
....\数据处理
....\........\1.cpp
....\........\manu.dsp
....\........\manu.dsw
....\........\manu.ncb
....\........\manu.opt
....\........\manu.plg
....\课程设计报告格式.doc
....\输入数据
....\........\1.cpp
....\........\write.dsp
....\........\write.dsw
....\........\write.ncb
....\........\write.opt
....\........\write.plg
....\输出数据
....\........\1.cpp
....\........\read.dsp
....\........\read.dsw
....\........\read.ncb
....\........\read.opt
....\........\read.plg
....\进程M.txt
....\进程P.txt
....\进程R.txt