-
a simple virtual machines and virtual operating system, support for the process...
一个简单的虚拟机和虚拟操作系统,支持进程调度、文件系统,包含简单的汇编支持,偶去年的作业。-a simple virtual machines and virtual operating system, support for the process scheduling, file system, the compilation contains simple, even last year"s operations.
- 2022-07-07 00:19:27下载
- 积分: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
-
用银行家算法实现进程死锁的检测和解决
用银行家算法实现进程死锁的检测和解决-with bankers algorithm Deadlock in the process of detecting and resolving
- 2022-02-01 02:54:40下载
- 积分:1
-
QNX 操作系统下 Freescale MPC8641DHPCN 开发板的板级支持包
QNX 操作系统下 Freescale MPC8641DHPCN 开发板的板级支持包-QNX operating system Freescale MPC8641DHPCN development board of the Board Support Package
- 2022-01-22 00:03:44下载
- 积分:1
-
生产者与消费者问题的实现
生产者与消费者问题的实现-producers and consumers to achieve the
- 2022-09-05 09:10:02下载
- 积分:1
-
C_deadblocked和按优先数.rar
C_deadblocked和按优先数.rar-C_deadblocked and by priority number. Rar
- 2022-04-26 21:09:03下载
- 积分:1
-
采用高响比优先的作业调度算法
采用高响比优先的作业调度算法-sound than the high-priority scheduling algorithm
- 2022-03-24 13:06:10下载
- 积分:1
-
EOS is a major open
EOS是一个主要用于教学的开源操作系统,它的源码风格是windows内核风格。EOS的整体结构简单,从boot、loader、kernel.dll到应用程序,结构清晰简单,但是功能内核功能也比较完整,源码总数为10000多行,比较适合初中级操作系统内核源码学习者。
与Linux0.11或0.12相比,EOS的内核的结构更加的模块化,结构比之清晰,是学习操作系统原理与内核分析研究的较好的工具。
-EOS is a major open-source operating system for teaching, and its style is windows kernel source code style. EOS" s overall structure is simple, from the boot, loader, kernel.dll to the application, the structure clear and straightforward, but the function of the kernel functions are relatively complete, a total of more than 10,000 source lines, more suitable for middle-class operating system kernel source code learners. 0.12, compared with Linux0.11 or, EOS of the core structure of a more modular structure than the clear, is to learn principles and core analysis of the operating system a better tool.
- 2023-03-20 19:55:04下载
- 积分:1
-
一个鼠标驱动的实例,有需要的可以下载下来
一个鼠标驱动的实例,有需要的可以下载下来-a mouse-driven examples, we need look can be downloaded from
- 2022-06-30 20:13:13下载
- 积分:1
-
SourceTo outlined SourceTo is a source code conversion tools. It will require th...
SourceTo概述 SourceTo是一个源代码转换工具。它对于需要将源代码转成其他文本格式(比如HTML,RTF)的人来说将是一个好帮手。如果你有在网站上发表技术文章的习惯,赶快获得一个SourceTo,它将为你的文章增色不少... -SourceTo outlined SourceTo is a source code conversion tools. It will require the source code into the other text format (such as HTML, RTF) who will be a good helper. If you have published on the Web habits of technical articles, as soon as possible was a SourceTo. It will add to the excitement of your many articles ...
- 2022-04-27 23:34:22下载
- 积分:1