文件名称:进程同步实验
介绍说明--下载内容均来自于网络,请自行研究使用
此为操作系统实验:进程同步机制的模拟实现. 报告中有 程序流程图 解题思路 部分主要源码等!! 简介:进程是程序在一个数据集合上运行的过程,进程是并发执行的,也即系统中的多个进程轮流地占用处理器运行。 我们把如干个进程都能进行访问和修改地那些变量成为公共变量。由于进程是并发执行的,所以,如果对进程访问公共变量不加限制,那么就会产生“与时间有关”的错误,即进程执行后,所得到的结果与访问公共变量的时间有关。为了防止这类错误,系统必须要用同步机构来控制进程对公共变量的访问。一般说,同步机构是由若干条原语——同步原语——所组成。本实验要求学生模拟PV操作同步机构的实现,模拟进程的并发执行,了解进程并发执行时同步机构的作用。-operating system for this experiment : the process synchronization mechanism Simulation. A report flowchart Oklahoma as part of the main source! ! Descr iption : The process is procedural in a data set on the process of operation, the process is complicated by the implementation of the system that is the number of rotation process to deal with occupation Operation. We can process of stem out for a visit and to amend those variables as public variables. As the process is complicated by the implementation, so if the right to visit public process variables without restrictions, it will have a "Time" is wrong, the implementation process, the results obtained with the public to visit the variables of time. To prevent such mistakes, the system must be used to control synchronization pro
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 315602进程同步实验.rar 列表 操作系统实验报告1.doc