-
一个小型操作系统,用于对显存进行操作 本人的操作系统课程设计...
一个小型操作系统,用于对显存进行操作 本人的操作系统课程设计-a small operating system, for the right to operate my memory for the operating system design courses
- 2022-12-13 02:45:03下载
- 积分:1
-
读写问题的vc仿真代码
读写问题的vc仿真代码-literacy problems vc simulation code
- 2022-03-26 01:09:49下载
- 积分:1
-
好文章!大家好好看吧!多处理器支持操作系统方面的
好文章!大家好好看吧!多处理器支持操作系统方面的-excellent article! Everyone sees good! Multi-processor support for the operating system
- 2022-02-14 18:51:34下载
- 积分: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 used to avoid deadlock. Master bankers algorithm data structure, algorithm of the whole process, and deepen the understanding of Banker"s Algorithm
- 2022-05-13 06:04:26下载
- 积分:1
-
Orange s:一个操作系统的实现(书附源码)chapter5.rar
Orange s:一个操作系统的实现(书附源码)chapter5.rar-Orange" s: an operating system implementation (source code attached to the book) chapter5.rar
- 2022-03-14 21:22:49下载
- 积分:1
-
操作系统原理实验――进程调度实验报告
实验内容或题目:
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
-
<自己动手写操作系统>源代码第3章随书源码,每个代码都经过调试。...
源代码第3章随书源码,每个代码都经过调试。- source code in Chapter 3 with the source books, each have been debug code.
- 2022-01-24 18:19:30下载
- 积分:1
-
Memory management under Linux0.11 Authors: Yi
Linux0.11 下的内存管理 作者:袁镱
一篇某牛人写的关于linux 0.11 下内存管理的文章-Memory management under Linux0.11 Authors: Yi-Yuan Niu a person to write a linux 0.11 on the memory management under article
- 2022-01-24 18:49:55下载
- 积分:1
-
一个微型操作系统源码
一个微型操作系统源码-a micro-source operating system
- 2022-04-23 22:33:06下载
- 积分:1