登录
首页 » Windows开发 » 进程是程序在一个数据集合上运行的过程,进程是并发进行的,也即系统中的多个进程轮流的占用处理器运行。 我们把若干个进程都能进行访问和修改的那些变量称为公共变...

进程是程序在一个数据集合上运行的过程,进程是并发进行的,也即系统中的多个进程轮流的占用处理器运行。 我们把若干个进程都能进行访问和修改的那些变量称为公共变...

于 2023-01-24 发布 文件大小:118.97 kB
0 179
下载积分: 2 下载次数: 1

代码说明:

进程是程序在一个数据集合上运行的过程,进程是并发进行的,也即系统中的多个进程轮流的占用处理器运行。 我们把若干个进程都能进行访问和修改的那些变量称为公共变量。由于进程是并发执行的,所以,如果对进程访问公共变量不加限制,那么就会产生“与时间有关”的错误,即进程执行后,所得到的结果与访问公共变量的时间有关。为了防止这类错误,系统必须要用同步机构来控制进程对公共变量的访问。一般说,同步机构是由若干条语句――同步原语――所组成。本试验要求学生模拟PV操作同步机构的实现,模拟进程的并发执行,了解进程并发执行时同步机构的作用。 -process is a procedure in the data set to run the process, the process is conducted with the system that is the rotation process more than the occupier runs. We have a number of process can visit and revision of 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 process bodies for public variables visit. In general, synchronous bodies of a number of statements-- synchronization primitives-- composed. Th

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这段代码说明了如何在C #使用树列表
    this code explains how to use the tree list in C#
    2022-01-28 06:17:18下载
    积分:1
  • 这是一个用vb编写的小程序,有兴趣的朋友可能DOWN下来
    这是一个用vb编写的小程序,有兴趣的朋友可能DOWN下来-This is a little program completed in vb,friends who are interedting in it can diwn it
    2022-02-24 11:56:51下载
    积分:1
  • Written in pure C using a network messaging client
    用纯C编写的一个网络通信客户端-Written in pure C using a network messaging client
    2022-12-13 01:00:04下载
    积分:1
  • own definition of the interface is the interface to achieve ddfd
    自己定义的接口 是接口的实现 ddfd-own definition of the interface is the interface to achieve ddfd
    2022-02-28 10:10:36下载
    积分:1
  • WiMAX网络部署
    WiMAX Network Deployment
    2022-04-09 22:51:40下载
    积分:1
  • from the window to get the file handle (6KB)
    从窗口句柄中得到文件名(6KB)-from the window to get the file handle (6KB)
    2022-05-08 09:55:58下载
    积分:1
  • FTP的上传与下载
    资源描述用C#语言写的FTP的上传与下载功能,自己测试过是可以使用的。用C#语言写的FTP的上传与下载功能,自己测试过是可以使用的。用C#语言写的FTP的上传与下载功能,自己测试过是可以使用的。用C#语言写的FTP的上传与下载功能,自己测试过是可以使用的。用C#语言写的FTP的上传与下载功能,自己测试过是可以使用的。
    2022-08-04 00:48:05下载
    积分:1
  • MSN similar to notify the source code window
    类似于MSN的消息通知窗口源代码-MSN similar to notify the source code window
    2023-04-29 07:10:03下载
    积分:1
  • 这是一篇关于一种基于特征的GRID到TIN的转换算法的论文,结构完整。...
    这是一篇关于一种基于特征的GRID到TIN的转换算法的论文,结构完整。-This is an article on the characteristics of a GRID-based conversion algorithm to TIN paper, the integrity of the structure.
    2022-07-21 12:24:04下载
    积分:1
  • 由用户输入系统进程数(最多50个进程)来模拟优先级调度算法假设进程是同时到达CPU,进程运行时间(1...
    由用户输入系统进程数(最多50个进程)来模拟优先级调度算法假设进程是同时到达CPU,进程运行时间(1-10秒)和进程优先级 (1-10,10最高1最低)由程序随机产生,进程有2种状态就绪状态(Ready)和完成状态(Complete)首先根据优先级对进程进行排序,再根据优先级分配时间片运行每次分给进程的时间片为1秒,运行完后需运行时间减1优先级减1转下一个进程。如果进程已经完成就插入到完成队列,如果没有完成就重新插入到就绪队列中的正确位置 程序有两种运行方式: 1、可以直接给出最后的运行结果,进程最后的优先级、 运行完每一个进程的时间及完成进程的总时间,进程最后的状态。 2、可以选择自动运行,过程中显示每一次调度信息包括本次调度进程完成队列信息就绪队列信息等*/ -Process user input from a number of systems (up to 50 processes) to simulate priority scheduling algorithm is the assumption that the process of arrival at the same time CPU, the process of run-time (1-10 seconds) and the process priority class (1-10,10 highest minimum 1) randomly generated by the process, the process has two kinds of status status ready (Ready) and achieve status (Complete) First of all, the process in accordance with the priority ranking, and distribution in accordance with the priority of each time slice to run to the process time slice for the second one, to be run after run-time priority class minus one minus one to t
    2023-01-17 10:50:04下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载