-
进程调度,时间片轮转调度.解压密码:4
进程调度,时间片轮转调度.解压密码:4-process scheduling, time slice Web scheduling. Decompression Password : 4
- 2022-02-01 19:44:43下载
- 积分:1
-
微软女士
Microsoft MS-DOS6.0 完整源代码,包括所有外部命令,安装程序,DOSSHELL等。每个源文件均包括开发历史、更新说明、注释。这样一套源码对你的意义,实在无法以笔墨形容-Microsoft the MS-DOS6.0 complete source code, including all
external commands, the installation procedure, DOSSHELL and so on.
Each source document includes the development history, the renewal
explanation, the annotation. This kind of set of sources code to your
significance, really is unable to the words to describe
- 2022-05-17 19:09:01下载
- 积分:1
-
超值奉献,Clifford E. Cummings FIFO关于异步FIFO的两篇文章,同时附有中文解说,主要讲解异步FIFO的实现难点...
超值奉献,Clifford E. Cummings FIFO关于异步FIFO的两篇文章,同时附有中文解说,主要讲解异步FIFO的实现难点---空满标志的产生,以及读写地址的产生-Value dedication, Clifford E. Cummings FIFO asynchronous FIFO on the two articles, at the same time accompanied with a Chinese guide, mainly on the realization of asynchronous FIFO difficult--- the emergence of space-age logo, as well as read and write addresses generated
- 2022-02-05 00:48:24下载
- 积分:1
-
1 : Prepare a simulation and debugging process scheduling procedures, "Prio...
1、 :编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对进程进行调度。 “最高优先数优先调度算法的基本思想是把CPU分配给就绪队列中优先数最高的进程。尝试静态优先数与动态优先数两种方法:
a) 静态优先数是指优先数在整个进程运行期间不再改变。优先数可以在数据输入时指定,也可以根据到达顺序、运行时间确定。
b) 动态优先数是指进程的优先数在创建进程时可以给定一个初始值,并且可以按一定原则修改优先数。例如进程获得一次CPU后就将其优先数减少1。或者进程等待的时间超过某一时限时增加其优先数的值。
2、 编写并调试一个模拟的进程调度程序,模拟实现多级反馈队列调度算法。
3、 编写并调试一个模拟的进程调度程序,模拟实现最低松弛度优先算法。
4、 程序与报告要求:
a) 对上述要求1、2、3,至少要完成一项,鼓励尝试多种算法。
b) 输出结果要尽量详细清晰,能够反映调度后队列变化,PCB内部变化。
c) 可以选择在Windows或Linux环境下编写、运行程序
d) 鼓励使用不同的开发工具在不同平台环境上进行开发比较。
e) 在实验报告中,一方面可以对实验结果进行分析,一方面可以对各种算法进行比较,分析它们的优劣,说明各种算法适用于哪些情况下的调度。
-1 : Prepare a simulation and debugging process scheduling procedures, "Priority number of the highest priority" to the process of scheduling algorithms for scheduling. "Highest priority priority scheduling algorithm for the basic idea is to place the CPU allocated to the priority queue highest process. Taste Examination several static and dynamic priority priority number two methods : a) static priority number is priority
- 2022-03-26 12:38:45下载
- 积分:1
-
操作系统小程序
操作系统小程序--银行家算法-OS small programs-- bankers Algorithm
- 2022-07-26 21:53:34下载
- 积分:1
-
操作系统中读者写者问题
操作系统中读者写者问题-readers to write operating system problem
- 2022-03-19 06:44:20下载
- 积分:1
-
这是一个完整的计算机操作系统的电子书籍,各章内容讲解精辟,是学习的一手好资料...
这是一个完整的计算机操作系统的电子书籍,各章内容讲解精辟,是学习的一手好资料-This is a complete computer operating system of e-books, the chapter on the brilliant, is good to learn first-hand information
- 2022-02-14 12:49:31下载
- 积分:1
-
32位寄存器的VHDL的原代码下载,COOLCOOLCOOL
32位寄存器的VHDL的原代码下载,COOLCOOLCOOL-32-bit register of the original VHDL code download, COOLCOOLCOOL
- 2023-04-29 20:45:02下载
- 积分:1
-
attention : 1. OS.jar Java package for two executable files. Due to the time and...
注意: 1. OS.jar为Java打包可执行文件 2. 由于时间,和界面空间问题,每个进程的资源拥有情况没有详细列明.如果要认真检查 程序的正确性,可以重新编译运行,然后查看Dos界 面下的输出.因为Dos界面下会输出 每个进程的资源情况(包括每个进程对每类资源的最大需求,分配情况,和所欠资源情况. 3. 资源设置中,进程设置应小于100个,资源类数应小于20个.-attention : 1. OS.jar Java package for two executable files. Due to the time and space interface, each process of the availability of resources, no details. If we were to check the correctness of procedures can recompile running, and then checking Dos interface output . because Dos output interface will process each of the resources (including each process for each category of the biggest resources demand, distribution, and outstanding resources. 3. resources set up, the process set up should be less than 100, the resource shall be less than 20.
- 2023-04-06 21:55:03下载
- 积分:1
-
操作系统兔子吃草
#include "stdafx.h"
#include
#include
#include
/*信号量的定义,它是负责协调各个线程, 以保证它们能够正确、合理的使用公共资源。 用于控制进程间的同步与互斥*/
typedef HANDLE Semaphore;
Semaphore g_semBuffer,g_semGlass, g_mutex; //mutex 为互斥锁
// 利用 Windows 下的 API 函数(视窗操作系统应用程序接口)来定义 P、V 操作
#define P(S) WaitForSingleObject(S,INFINITE)
#define V(S) ReleaseSemaphore(S,1,NULL)
#define rate 1000
#define CONSUMER_NUM 4 // 消费者个数
#define PRODUCER_NUM 4 // 生产者个数
#define BUFFER_NUM 4 // 缓冲区个数
char *thing[4]={"glass1","glass2","glass3","glass4"};
//公共的队列缓冲区
struct Buffer
{
int product[BUFFER_NUM];
int front,rear;
}g_buf;
//兔子线程
DWORD WINAPI Rabbit(LPVOID para)
{
int i =*(int*)para; //第 i 只小白兔&
- 2022-05-23 06:18:02下载
- 积分:1