-
操作系统原理实验――进程调度实验报告
实验内容或题目:
1)设计有5个进程并发执行的模拟调度程序,每个程序由一个PCB表示。
2)模拟调度程序可任选...
操作系统原理实验――进程调度实验报告
实验内容或题目:
1)设计有5个进程并发执行的模拟调度程序,每个程序由一个PCB表示。
2)模拟调度程序可任选两种调度算法之一实现(有能力的同学可同时实现两个调度算法)。
3)程序执行中应能在屏幕上显示出各进程的状态变化,以便于观察调度的整个过程。
4)本次实验内容(项目)的详细说明以及要求请参见实验指导书。
-Operating principle experiment- the process of scheduling the content or subject experiment on the experiment: 1) design process, concurrent implementation of the five simulation scheduler, each program consists of a PCB, said. 2) The simulation scheduler can be optional, one of two kinds of scheduling algorithm to achieve (with the ability of students can simultaneously achieve the two scheduling algorithms). 3) program implementation should be able to screen out the process of change of state in order to observe the entire process of scheduling. 4) The content of this experiment (project) and to require a detailed explanation, see the experimental instructions.
- 2022-03-17 08:42:49下载
- 积分:1
-
自己动手写操作系统,书的配套光盘。很好的入门级教材,是《操作系统》极好的课设参考资料。...
自己动手写操作系统,书的配套光盘。很好的入门级教材,是《操作系统》极好的课设参考资料。-to write their own operating system, the matching CD. A good entry-level teaching materials, "operating system" excellent lesson based reference materials.
- 2022-02-20 17:40:44下载
- 积分:1
-
C language of the DOS operating system source code, very classic, a good operati...
用C语言实现的DOS操作系统的源代码,非常经典,研究操作系统的好资料-C language of the DOS operating system source code, very classic, a good operating system research information
- 2022-03-11 08:40:37下载
- 积分:1
-
this is aes algorithm
this is aes algorithm
- 2022-02-02 04:29:09下载
- 积分: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
-
模拟采用二级目录结构的磁盘文件系统中文件操作
模拟采用二级目录结构的磁盘文件系统中文件操作-Simulation of two-level directory structure of the disk file system file operations
- 2022-10-14 23:05:03下载
- 积分:1
-
minix操作系统分析
minix操作系统分析-Minix operating system analysis
- 2022-05-18 17:13:24下载
- 积分:1
-
a micro
一个微型操作系统源码-a micro-source operating system
- 2022-02-12 18:05:58下载
- 积分:1
-
The use of C++ Prepared Calculator, including all general computing.
使用C++编写的计算器,包括所有的一般计算功能。-The use of C++ Prepared Calculator, including all general computing.
- 2022-03-13 15:04:11下载
- 积分:1
-
一个用java实现的解决理发师睡觉问题的代码
一个用java实现的解决理发师睡觉问题的代码-used to achieve a solution to the problem of sleep Barber code
- 2022-02-05 01:35:41下载
- 积分:1