-
Linux0.07版本的源代码,很经典的,对于初学者有很大的帮助,不可不看。...
Linux0.07版本的源代码,很经典的,对于初学者有很大的帮助,不可不看。-linux version 0.07 source code, very classic, helpful to the beginner.
- 2022-03-21 00:16:10下载
- 积分: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
-
ucos的源代码程序,可以好好研究一下,尤其是进程控制用的一张二维表,简直是经典...
ucos的源代码程序,可以好好研究一下,尤其是进程控制用的一张二维表,简直是经典-uCOS program source code, you can look good, especially the process of controlling a two-dimensional form, it is a classic
- 2022-01-26 01:30:56下载
- 积分:1
-
提高嵌入式软件质量的途径,中文版本。写很详细
提高嵌入式软件质量的途径,中文版本。写很详细-To improve the quality of embedded software means, the Chinese version. Write a very detailed
- 2023-05-20 02:30:03下载
- 积分:1
-
采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时...
采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改。-priority number using the static method, the preparation process of scheduling a process simulation program, the process in place for the state, running, blocking three.PCBPCBPCB
- 2022-09-05 20:10:03下载
- 积分:1
-
基于UNIX6的文件系统模拟程序,供OS课程设计参考使用,在TC环境下测试成功...
基于UNIX6的文件系统模拟程序,供OS课程设计参考使用,在TC环境下测试成功-UNIX6 based on the file system simulation program for OS reference design courses, TC environment in the test successful
- 2023-03-06 07:00:03下载
- 积分: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
-
fanlsh播放器,效果非常好,经典的播放软件
fanlsh播放器,效果非常好,经典的播放软件-fanlsh player, the effect was very good, classic broadcast software
- 2023-08-12 00:55:03下载
- 积分:1
-
操作系统课程设计,模拟UNIX磁盘文件管理系统
• 建立文件存储介质的管理机制
• 建立目录
• 文件系统功能(显示目...
操作系统课程设计,模拟UNIX磁盘文件管理系统
• 建立文件存储介质的管理机制
• 建立目录
• 文件系统功能(显示目录、创建、删除、打开、关闭、读、写)
• 文件操作接口(显示目录、创建、删除、打开、关闭、读、写)-Operating system, curriculum design, simulation UNIX disk file management system • Create file storage media management mechanisms • • File system functions to create the directory (show directory, create, delete, open, close, read, write) • File Operation Interface (show directory, create, delete, open, close, read, write)
- 2023-02-17 07:05:03下载
- 积分:1
-
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