登录
首页 » 操作系统 » 采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时...

采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时...

于 2023-02-24 发布 文件大小:2.41 kB
0 105
下载积分: 2 下载次数: 1

代码说明:

采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改-priority number using the static method, the preparation process of scheduling a process simulation program, the process in place for the state, running, blocking three. Simulation program only right you have set up a "virtual PCB" accordingly scheduling simulation operation, that is, each occurrence "Dispatch" shows that the current "PCB name" priority number, running time, without the need for a real system, such as PCB data changes

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

发表评论

0 个回复

  • 先进先出等等中几种进站出站顺序的实现
    先进先出等等操作系统中几种进站出站顺序的实现 -操作系统中几种进站出站顺序
    2023-06-22 00:55:04下载
    积分:1
  • TI BQ24070 chip charge drives.
    TI BQ24070 充电芯片驱动. -TI BQ24070 chip charge drives.
    2022-11-04 22:15:03下载
    积分:1
  • 现在有很多的相机类型,和一些鱼
    现在有很多相机类型,有的鱼眼相机照完的图片会发生畸变,为此,我们要进行鱼眼图片校正。本程序正是针对鱼眼图象的校正程序,里面有详细的注释说明相信只要是有一定的基础的人都能看懂。不过,还有差值部分没做完哪,有待完善。-Now have a lot of camera types, and some fish-eye camera images will be finished according to distortion, to that end, we have to carry out fish-eye image correction. This procedure is for fish-eye image correction program, which has detailed notes as long as it is believed that the basis of a certain person can understand. However, there is some difference which did not finish, remain to be improved.
    2022-01-25 15:46:44下载
    积分:1
  • 排序算法
    操作系统排序算法-operating system Sorting Algorithm
    2022-04-08 20:23:06下载
    积分:1
  • 1, to obtain special permission 2, the implementation of/bin/sh 3, bound to th...
    1、获取特殊权限 2、执行/bin/sh 3、绑定到端口。 4、反向连接。 5、躲避IDS的过滤 -1, to obtain special permission 2, the implementation of/bin/sh 3, bound to the port. 4, reverse connection. 5, to avoid filtering IDS
    2023-04-01 20:30:03下载
    积分:1
  • 一个完整的rtos源代码.运行在嵌入80186 cpu上.提供4个任务,信号灯,定时器,schedule等....
    一个完整的rtos源代码.运行在嵌入80186 cpu上.提供4个任务,信号灯,定时器,schedule等.-Byelorussian a complete source code. Running on embedded 80186 cpu. For four tasks, lights, timers, etc. schedule.
    2022-06-16 15:48:26下载
    积分:1
  • the procedures on the topic of : process management
    本次程序的题目为:进程管理――支持多个进程并发运行的简单的进程管理模拟系统,对本实验的分析要求是:⑴系统中的同步机构采用信号量上的P、V操作的机制;⑵控制机构包括阻塞和唤醒操作;⑶时间片中断处理程序处理模拟的时间片中断;⑷进程调度程序负责为各进程分配处理机;⑸根据用户的需求来创建n个进程(n为即满足用户需求,又不超出系统可容的最大进程数),各进程互斥地访问使用临界资源 S1、S2;⑹使用动态优先数(如:随阻塞次数的增加而减小优先数,以提高其优先权);⑺进程结束后应能够撤消;⑻进程间能实现“发送”和“接收”两个消息缓冲通信操作;⑼系统在运行过程中随机打印出各进程的状态变换过程、系统的调度过程及公共变量的变化情况,在一个进程运行完毕,进入完成状态后,可以将该进程撤消,也可以动态的创建另一个新的进程。-the procedures on the topic of : process management-- to support multiple concurrent processes running a simple process management simulation system for the analysis of the experimental requirements are : 1 system of institutions using synchronous signals on the amount of P, V operation of the mechanism; 2 control agencies, including obstruction and awaken operation ; 3-time interrupt handling procedures-time simulation of interruption; 4 process scheduler is responsible for the allocation process processors; together according to the user"s needs to create process n (n that meet user needs, without exceeding the system can accommodate
    2022-03-13 01:19:06下载
    积分:1
  • 计算机磁盘驱动调度算法的模拟实现
    计算机操作系统磁盘驱动调度算法的模拟实现-Computer operating system disk drive simulation scheduling algorithm to achieve
    2022-06-28 13:42:04下载
    积分:1
  • 不断发送IP地址,和接收对方IP地址的程序,
    不断发送IP地址,和接收对方IP地址的程序,-constantly sending IP address, and receive the IP addresses of the other procedures,
    2022-01-25 15:11:35下载
    积分:1
  • SPI总线源代码。可以很好得学习SPI总线和SPI通信
    SPI总线源代码。可以很好得学习SPI总线和SPI通信-SPI bus source code. Can be a very good learning SPI bus and SPI communication
    2023-06-06 15:55:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载