-
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
-
模拟操作系统的进程调用
模拟操作系统的进程调用-simulated the process of operating system calls
- 2022-11-20 07:50: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
-
bankers algorithm. Resolve Deadlock
银行家算法.解决死锁问题-bankers algorithm. Resolve Deadlock
- 2022-04-17 09:22:05下载
- 积分:1
-
系统还原点清理工具 By Mouri_Naruto
应用背景个人编写的一个小工具;专门用于清理系统还原点关键技术用到了卷影复制(VSS)和系统还原客户端(SrClient)的API
- 2022-02-28 13:50:42下载
- 积分:1
-
免费实时操作系统源代码
源代码的 FreeRTOS 中杰出人物系列皮质 M3 控制器。
如何在免费的实时操作系统,这是一个开放的平台中创建任务。如何多个任务运行在不同的优先事项。
皮质 M3 控制器的多任务执行。
- 2022-02-04 17:29:30下载
- 积分:1
-
页式虚拟存储管理中地址转换和缺页中断,这是赏完操作系统课时做的实习设计,有完备的分析余与设计,如实验目的,实验内容,实验模块的实现,采用的是采用先进先出页面置换...
页式虚拟存储管理中地址转换和缺页中断,这是赏完操作系统课时做的实习设计,有完备的分析余与设计,如实验目的,实验内容,实验模块的实现,采用的是采用先进先出页面置换算法。-Page storage management in virtual address translation and page fault, which is the operating system rewards End internship hours to do the design, there are more than a complete analysis and design, such as experimental purposes, the experiment content, laboratory module, used in the application of advanced first-out page replacement algorithm.
- 2022-01-24 14:30:36下载
- 积分: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
-
S3C44B0X开发实例源码,uCos系统,用SDT2.5开发
S3C44B0X开发实例源码,uCos系统,用SDT2.5开发-S3C44B0X examples of source code development, uCos system, developed by SDT2.5
- 2023-08-18 03:40:03下载
- 积分:1
-
银行家算法,一斑斑吧。够用了
银行家算法,一斑斑吧。够用了-bankers algorithm, one spotted it. Adequacy of
- 2022-06-22 05:00:30下载
- 积分:1