-
DOS操作系统源代码,编程语言为asm和C。
DOS操作系统源代码,编程语言为asm和C。-Source Code of DOS
- 2022-05-20 02:28: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
-
微操作系统(c++)
微操作系统(c++)-Micro-operating system (c )
- 2022-11-07 05:10:03下载
- 积分:1
-
如题VC delphi也可以参考
如题VC delphi也可以参考-if that VC can also make reference to delphi
- 2022-02-24 10:49:52下载
- 积分:1
-
一个整体操作系统的主要功能的计算机模拟实现(含进程、内存与设备管理)...
一个整体操作系统的主要功能的计算机模拟实现(含进程、内存与设备管理)-an overall system of the main functions of the computer simulation (including the process, memory management and equipment)
- 2023-02-01 02:50:03下载
- 积分:1
-
微软早期的一个操作系统[ 1 ]。0
Microsoft早期操作系统1[1].0-3.0全系列收藏版-Microsoft early one operating system [1] .0-3.0 full range of collectors edition
- 2022-02-02 02:43:51下载
- 积分:1
-
这是一个操作系统(计算机科学课程)的设计。它的功能…
这是一个操作系统(计算机系课程)的课程设计。它的功能是模拟文件管理,包括建立用户,建立文件并对文件设置属性.还包括对文件的添加,修改,删除等操作-This is an operating system (computer science courses) are designed. Its function is simulated document management, including the establishment of users, document also set up document attributes. The document also includes the addition, modification, deletion, etc
- 2022-02-04 05:04:46下载
- 积分:1
-
DustFS 文件系统实现源码,研究文件系统的朋友可以下载参考!...
DustFS 文件系统实现源码,研究文件系统的朋友可以下载参考!-DustFS File System source code, research papers, the system can be downloaded refer to a friend!
- 2022-07-16 02:32:02下载
- 积分:1
-
51 Singlechip transplantation under uCOS
51单片机下移植uCOS-II源码,包含四个章节介绍的移植源码及驱动程序,配套“uC/OS-II内核分析、移植与驱动程序开发”-51 Singlechip transplantation under uCOS-II source, contains four chapters and the introduction of the transplant source driver, supporting
- 2022-07-08 06:58:18下载
- 积分:1
-
ml-rsim
多处理器模拟器
支持类bsd操作系统-ml-rsim type of multi-processor support for bsd operating system simulator
- 2022-10-11 10:55:03下载
- 积分:1