-
C++编写的一个操作系统程序进程管理
C++编写的一个操作系统程序进程管理-prepared an operating system process management procedures
- 2022-03-21 11:26:52下载
- 积分:1
-
磁盘调度的三种方法的其中一种用C语言实现
磁盘调度的三种方法的其中一种用C语言实现-Disk scheduling one of three methods using C language
- 2022-02-21 03:38:03下载
- 积分:1
-
RT-Linux源码 一个实时操作系统源码,很小巧-RT-1-source Linux operating system source code, the very small
- 2022-07-16 04:02:48下载
- 积分:1
-
操作系统里面一个功能的模拟,关于进程调度的
操作系统里面一个功能的模拟,关于进程调度的-Function of the operating system inside a simulation, on the process of scheduling
- 2023-05-17 21:30:02下载
- 积分:1
-
进程同步问题模拟
进程同步问题模拟-simulation process synchronization problem
- 2023-07-06 03:35: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
-
这个程序对操作体统关于死琐控制的一个算法银行家算法,进行了很好的模拟和实现
这个程序对操作体统关于死琐控制的一个算法银行家算法,进行了很好的模拟和实现-This procedure is to operate on the death of decency in a suo control algorithm bankers algorithm, had a very good analog and realize
- 2022-01-24 12:33:47下载
- 积分: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
-
操作系统中作业调度程序
操作系统中作业调度程序 -operating system scheduling procedures
- 2022-08-03 04:57:00下载
- 积分:1
-
T-Kernel Driver Sample
T-Kernel Driver Sample-T-Kernel Driver Sample
- 2022-08-19 03:50:16下载
- 积分:1