-
自己写的银行家算法,只能实现固定进程和资源的操作,不过要是应付作业什么的没有问题,绝对可以运行...
自己写的银行家算法,只能实现固定进程和资源的操作,不过要是应付作业什么的没有问题,绝对可以运行-himself wrote bankers algorithm, the process can only be fixed and operational resources, but what if the deal with no operational problems and it can definitely run
- 2022-05-18 17:01:27下载
- 积分:1
-
Nucleus Plus PowerPC移植代码 PPC850
Nucleus Plus PowerPC移植代码 PPC850-Nucleus Plus PPC850
- 2022-07-17 03:42:23下载
- 积分:1
-
Enter the shutdown time can be turned off at the appointed time, that is, plans...
输入关机的时间即可在指定的时间关机,就是添加at的计划任务。在等待关机的时间内本程序不会运行。-Enter the shutdown time can be turned off at the appointed time, that is, plans to add at the mission. Waiting time of the shutdown process will not run.
- 2022-02-02 21:30:10下载
- 积分:1
-
本程序是成绩管理程序,非常好而且方便使用,希望大家能够喜欢。...
本程序是成绩管理程序,非常好而且方便使用,希望大家能够喜欢。-results of this procedure is management procedures, but very good for ease of use, hope that we can like.
- 2023-07-08 07:30: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
-
Verilog语言,nios最小系统,在DE2板上测试成功
Verilog语言,nios最小系统,在DE2板上测试成功-Verilog language, nios minimum system, tested successfully in the DE2 board
- 2022-04-12 07:03:55下载
- 积分:1
-
设置窗口启用禁用
提供dll和Demo,通过在labview中对该dll的调用,实现对窗口的禁用和启用,而不需通过窗口句柄获取所有控件再进行启用禁用。版本labview2013
- 2022-01-25 21:57:03下载
- 积分:1
-
操作系统实验演示代码(三个实验,作业管理,内存管理,文件管理)...
操作系统实验演示代码(三个实验,作业管理,内存管理,文件管理)-Experimental demonstration of the operating system code (three experiments, operations management, memory management, document management)
- 2022-02-02 15:15:00下载
- 积分:1
-
注册表监控
一个注册表监控封装类,当监控的注册表键值发生变化,会触发回调事件检索,是一个学习注册表操作非常好的参考。
- 2022-03-30 04:20:22下载
- 积分:1
-
IwTCP/IP network protocol stack in the operating system porting code ucos
IwTCP/IP网络协议栈在ucos操作系统上的移植代码-IwTCP/IP network protocol stack in the operating system porting code ucos
- 2022-02-02 22:21:48下载
- 积分:1