-
Orange s:一个操作系统的实现(书附源码)chapter6.rar
Orange s:一个操作系统的实现(书附源码)chapter6.rar-Orange" s: an operating system implementation (source code attached to the book) chapter5.rar
- 2022-01-31 18:40:29下载
- 积分: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 is a complete computer operating system of e-books, the chapter on the brilliant, is good to learn first-hand information
- 2022-02-14 12:49:31下载
- 积分:1
-
写他自己的操作系统,“一本书的源代码,每…
《自己动手写操作系统》一书里面的源码,个人认为对学习操作系统的朋友有点帮助。-"to write his own operating system," a book which the source code, personal view on learning the system a bit to help a friend.
- 2022-01-25 14:45:00下载
- 积分:1
-
免费实时操作系统源代码
源代码的 FreeRTOS 中杰出人物系列皮质 M3 控制器。
如何在免费的实时操作系统,这是一个开放的平台中创建任务。如何多个任务运行在不同的优先事项。
皮质 M3 控制器的多任务执行。
- 2022-02-04 17:29:30下载
- 积分:1
-
Windows资源浏览器外壳扩展右键菜单功能的实例程序
Windows资源浏览器外壳扩展右键菜单功能的实例程序-Windows Explorer context menu shell extension examples of procedures
- 2023-08-09 16:40:05下载
- 积分:1
-
利用vc++的各项相关功能和操作系统的相关知识完成哲学家算法~...
利用vc++的各项相关功能和操作系统的相关知识完成哲学家算法~-Using vc++ with the relevant functions and knowledge of the operating system to complete the philosopher algorithm ~
- 2022-02-04 19:28:44下载
- 积分:1
-
这是一个强大的宾馆管理系统,包括宾馆人事、房间管理
这是一个强大的宾馆管理系统,包括宾馆人事、房间管理-The system of Hotel Management
- 2022-04-11 00:03:46下载
- 积分:1
-
简单的shell 程序
简单的shell 程序-A simple programe of Shell .
- 2023-07-03 06:55:03下载
- 积分:1
-
自己写操作系统!杨文博著的一部很好的学习操作系统的书籍!...
自己写操作系统!杨文博著的一部很好的学习操作系统的书籍!-Write your own operating system! YANG Wen-bo" s a good learning experience for the operating system, the books!
- 2022-12-10 16:05:04下载
- 积分:1