-
操作系统下的仿真操作系统开发的替换页面
用VC开发的模拟操作系统的页面置换-VC simulation of the operating system developed by the replacement pages
- 2022-01-23 10:19:20下载
- 积分:1
-
一个用java实现的解决理发师睡觉问题的代码
一个用java实现的解决理发师睡觉问题的代码-used to achieve a solution to the problem of sleep Barber code
- 2022-02-05 01:35:41下载
- 积分: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
-
CPU调度C语言实现 实现1FCFS(先到先服务) 2SJF(最段作业优先调度) 3RR(轮转法) 4PSA(优先权调度)n) 5EXIT 6...
CPU调度C语言实现 实现1FCFS(先到先服务) 2SJF(最段作业优先调度) 3RR(轮转法) 4PSA(优先权调度)n) 5EXIT 6时间的延迟; 7:屏幕的换色.-CPU scheduling C Language Implementation 1FCFS (first come-first services) 2SJF (most of the operational priority scheduling) 3RR (Web) 4PSA (Priority Scheduling) n) 5EXIT six hours of delay; 7 : screen for color.
- 2022-02-26 06:57:36下载
- 积分:1
-
操作系统课程设计
操作系统课程设计- The operating system curriculum designs
- 2022-03-02 09:36:47下载
- 积分:1
-
System Programming source: memory, the buffer zone (Memory/Buffer) treatment, th...
系统编程源码: 内存、缓冲区(Memory/Buffer)处理, 本程序实现CArray摸板类的快速排序
-System Programming source: memory, the buffer zone (Memory/Buffer) treatment, this procedure realize摸板class CArray Quick Sort
- 2022-09-04 09:30:03下载
- 积分:1
-
操作系统课程设计中的内存管理源代码
操作系统课程设计中的内存管理源代码和可执行文件,可用于操作系统课程设计,操作系统实验,
有助于进一步学习操作系统和理解操作系统。
操作系统中存储管理的功能:
1、地址映射(逻辑地址——>主存物理地址)
由操作系统中的装入程序loader来完成(静态或动态)。
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-05-15 17:49:33下载
- 积分:1
-
一套菜单控件
用起来比较方便 皮肤可以由自己定义
一套菜单控件
用起来比较方便 皮肤可以由自己定义 -A set of menu controls more convenient to use the skin can be defined by their own
- 2022-06-27 19:25:40下载
- 积分:1
-
an automatic shutdown procedures
一个自动关机程序-an automatic shutdown procedures
- 2022-04-08 19:46:59下载
- 积分:1
-
高校计算机学院操作系统课程关于进程通信的程序范例
高校计算机学院操作系统课程关于进程通信的程序范例-University College of the operating system of computer programs on the example of the process of communication procedures
- 2022-03-13 08:14:25下载
- 积分:1