-
此为操作系统实验:进程同步机制的模拟实现. 报告中有 程序流程图 解题思路 部分主要源码等!! 简介:进程是程序在一个数据集合上运行的过程,进程是并发执行的,也...
此为操作系统实验:进程同步机制的模拟实现. 报告中有 程序流程图 解题思路 部分主要源码等!! 简介:进程是程序在一个数据集合上运行的过程,进程是并发执行的,也即系统中的多个进程轮流地占用处理器运行。 我们把如干个进程都能进行访问和修改地那些变量成为公共变量。由于进程是并发执行的,所以,如果对进程访问公共变量不加限制,那么就会产生“与时间有关”的错误,即进程执行后,所得到的结果与访问公共变量的时间有关。为了防止这类错误,系统必须要用同步机构来控制进程对公共变量的访问。一般说,同步机构是由若干条原语――同步原语――所组成。本实验要求学生模拟PV操作同步机构的实现,模拟进程的并发执行,了解进程并发执行时同步机构的作用。-operating system for this experiment : the process synchronization mechanism Simulation. A report flowchart Oklahoma as part of the main source! ! Description : 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
- 2022-03-22 10:41:28下载
- 积分:1
-
MyProcess进程管理器
MyProcess进程管理器-MyProcess thead manegement
- 2022-04-15 05:22:09下载
- 积分:1
-
在多个线程之间安全地共享有限的资源
在多个线程之间安全地共享有限的资源-threads between the various security sharing limited resources
- 2022-07-03 11:36:30下载
- 积分:1
-
操作系统内存调度各种算法的示例,也是多线程在同一控件上作画的演示程序。...
操作系统内存调度各种算法的示例,也是多线程在同一控件上作画的演示程序。-operating system memory scheduling algorithms example, multithreading in the same controls on painting demonstration program.
- 2022-02-21 04:45:40下载
- 积分:1
-
multithreading separate document, the document is divided into arbitrary size of...
多线程文件分割,把文件分割成任意大小的可连接大文件-multithreading separate document, the document is divided into arbitrary size of large files can be linked
- 2022-04-07 14:19:11下载
- 积分:1
-
关于线程的代码,很实用,希望大家多多支持,互相学习
关于线程的代码,很实用,希望大家多多支持,互相学习-Code on the thread, very useful, hope that we can support and learn from each other
- 2022-02-02 07:33:32下载
- 积分:1
-
一个可以方便地在Delphi下进行多线程编程的控件。很好用的。...
一个可以方便地在Delphi下进行多线程编程的控件。很好用的。-a convenient in Delphi under multithreaded programming controls. Very good use.
- 2022-03-18 11:06:30下载
- 积分:1
-
功能介绍:有些软件在运行中要将某些文件压缩成压缩文件。自己写压缩过程未免太麻烦了,
虽然有很多免费的源代码类可以使用,还要看代码的使用方式,一个不小心就不一...
功能介绍:有些软件在运行中要将某些文件压缩成压缩文件。自己写压缩过程未免太麻烦了,
虽然有很多免费的源代码类可以使用,还要看代码的使用方式,一个不小心就不一定很正常了。
我的做法是调用现有的压缩文件来完成压缩功能。用等待进程结束的方法实现压缩。
完成后再作后面的其他工作。
本程序旨在演示启动和等待进程结束的方式调用其他程序的方法。
-functional presentations : Some software in the operation of certain documents should compressed into compressed files. , Wrote the compression process would be too troublesome, although there are many free source code can use category, but also the use of code, a careless It is not the normal. My approach is to call the compressed files to complete compression. The process used to wait for the end of the compression method. Upon the completion of the back for the other work. This procedure aims to demonstrate the process of initiating and wait for the end of the call other procedures.
- 2022-09-12 04:40:03下载
- 积分:1
-
我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同...
我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同的格式显示这些数据。文档对象为了有规律地采集数据,它需要一个定时(time)事件。但是,文档不是一个基于窗口的对象,所以它没有这样的定时事件。我权衡了三种解决方案: 1、在其中的一个视图中创建定时器。当事件发生时通知文档对象获取数据。 2、为每一个文档(或在每个文档内)创建一个单独的线程,以便这个线程能有规律地创建时间事件。 3、在CMainFrame中创建一个定时器并从中调用文档函数这三种方法我都不满意。能否给出一种更好的解决方案?
- 2023-07-11 15:35:03下载
- 积分:1
-
一个利用socket监控另一程序的源码,定时重启程序.
一个利用socket监控另一程序的源码,定时重启程序.-use of a socket monitoring procedures of another source, the resumption of regular procedures.
- 2023-01-19 19:20:04下载
- 积分:1