-
控制光驱,可最小化的小程序
控制光驱,可最小化的小程序-control drive, the smallest of the small programs
- 2023-07-06 04:50:02下载
- 积分: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
-
Playing
Playing-with-OS
自己开发操作系统-Playing-with-OS its own operating system
- 2022-03-07 00:12:23下载
- 积分:1
-
可以自学操作系统全部课程
可以自学操作系统全部课程- May study independently the operating system complete
curriculum
- 2022-09-26 15:05:03下载
- 积分:1
-
ucosII in TI on the TMS320LF2407 transplantation. Embedded operating system.
ucosII在TI的tms320lf2407上的移植。
嵌入式操作系统。-ucosII in TI on the TMS320LF2407 transplantation. Embedded operating system.
- 2023-05-12 22:10:03下载
- 积分:1
-
用vc编写的用来模拟操作系统中电梯调度算法的程序。
用vc编写的用来模拟操作系统中电梯调度算法的程序。-The ones that wrote vc used the procedure of dispatcher s algorithm of the lift in the simulation operating system.
- 2022-07-23 21:46:51下载
- 积分:1
-
操作系统中关于version项目
操作系统中关于version项目-version of the operating system project
- 2022-07-26 20:39:58下载
- 积分:1
-
err
在s3c2410下移植的LWIP 1.11 协议栈,操作系统ucosII,网络芯片是CS8900,移植经过测试可以使用。这些让大家可以在其上移植WebServer等服务,希望有能移植成功的发份代码与pk2794263@163.com感激不尽-err
- 2023-06-19 06:15:04下载
- 积分:1
-
Unix操作系统minix 2.0源码
Unix操作系统minix 2.0源码-Minix 2.0 source Unix operating system
- 2022-06-03 14:31:41下载
- 积分:1
-
office 2000中可以排版维吾尔文字。该程序只能在win98操作系统下正常运行...
office 2000中可以排版维吾尔文字。该程序只能在win98操作系统下正常运行-can typesetting Uygur language. The procedure only in win98 operating system uptime
- 2022-05-09 08:21:48下载
- 积分:1