-
银行家算法
银行家算法-Banker s Algorithm
- 2022-11-24 00:25:03下载
- 积分:1
-
模拟进程同步算法,包括FCFS(先到先服务),SJF(最短优先),RR(Round...
模拟进程同步算法,包括FCFS(先到先服务),SJF(最短优先),RR(Round-Robin),优先权调度及多级队列调度-Simulation process synchronization algorithms, including FCFS (first come first serve), SJF (shortest first), RR (Round-Robin), priority scheduling and multi-level queue scheduling
- 2022-06-02 17:20:17下载
- 积分:1
-
ncurses
ncurses-5.4 需要的就来下把 一定会有用的哦-ncurses-5.4 needed on to the next will be used to Oh
- 2023-07-26 20:50:04下载
- 积分: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
-
DOS
DOS - ç ,它的内核也是FreeDOS的内核。并在此基础上进行了一定的修改,使其更加实用。 FreeDOS的是项目设计
提供替代到MS - DOS,PC的DOS的和DR - DOS的自由 。-DOS-C started in 1988 as an experiment in writing device drivers in C for
Microsoft s MS-DOS. Both block and character device drivers were written,
along with special C data structures to match the MS-DOS request packet. It
was then recognized that using the same techniques, an operating system
could be written that would take advantage of the C language features and
would require much less time to develop than the traditional assembly
language techniques. Although UNIX had proven this earlier, it was not
tried with a traditional pc operating system.
At this time, a minimal operating system using the device drivers written
earlier along with a new 8086 interrupt API was developed. It was called
XDOS and proved to be a functional operating system. This new operating
system was used to develop booting techniques and a C library SDK was
dev
- 2023-09-06 14:00:04下载
- 积分:1
-
操作系统课程设计
操作系统课程设计- The operating system curriculum designs
- 2022-02-14 12:12:38下载
- 积分:1
-
WinCE5.0部分核心源码
WinCE5.0部分核心源码-part of the core source WinCE5.0
- 2022-02-04 11:37:00下载
- 积分:1
-
This is the realization of operating system scheduling problem of traffic lights...
这是实现操作系统交通灯调度问题,里面不是很好,希望大家提出宝贵的意见-This is the realization of operating system scheduling problem of traffic lights, which is not very good, hope that the valuable advice
- 2022-05-31 01:57:21下载
- 积分:1
-
本实习模拟在单处理器环境下的处理器调度,加深了解处理器调度的工作,设计一个按时间片轮转法实现处理器调度的程序。...
本实习模拟在单处理器环境下的处理器调度,加深了解处理器调度的工作,设计一个按时间片轮转法实现处理器调度的程序。-the attachment to the single-processor simulation environment processor scheduling, a better understanding of the processor scheduling, design a Web tablet by the time Method processor scheduling procedures.
- 2022-01-24 15:04:36下载
- 积分:1
-
模拟消费者线程的代码
模拟消费者线程的代码-simulation code
- 2022-03-22 20:34:43下载
- 积分:1