-
FIFO arithmetic,it can solve some common question.It have source code.
先进先出优先算法可以解决一些常见问题并为其源程序-FIFO arithmetic,it can solve some common question.It have source code.
- 2022-03-06 15:58:37下载
- 积分:1
-
操作系统程序,计算县城个数,进程名称,进程的管理
操作系统程序,计算县城个数,进程名称,进程的管理-Operating procedures, the county calculated the number, the process name, process management
- 2022-03-26 19:01:24下载
- 积分:1
-
磁盘调度的三种方法的其中一种用C语言实现
磁盘调度的三种方法的其中一种用C语言实现-Disk scheduling one of three methods using C language
- 2022-02-21 03:38:03下载
- 积分:1
-
移植uCOS
移植uCOS-II到ARM7代码应用举例,希望大家可以帮助-Transplantation uCOS-II to the ARM7 application code, for example, I hope everyone can help
- 2023-01-19 21:20:04下载
- 积分:1
-
vb1weqt rfwergertgerwtewr t
vb1weqt rfwergertgerwtewr t
- 2022-04-20 20:19:25下载
- 积分:1
-
操作系统课程设计报告,内存模拟管理
操作系统课程设计报告,内存模拟管理- The operating system curriculum designs the report, the memory
simulation manages
- 2023-03-25 03:45:03下载
- 积分:1
-
51单片机操作系统
这是一个基于时间片的操作系统 通过时间分割 将51单片机 独立出N个低频单片机 并行运行程序,该系统有一定的实用性,特别是要驱动TFT屏的时候,在刷屏的同时单片机任能做其他事情,如果不是用操作系统,像51这种低端的单片机是做不到同时的,所以这个代码非常有学习的价值
- 2022-01-21 21:11:52下载
- 积分:1
-
Applied to arm, avr, h8 platform of non
应用于arm、avr、h8平台的非抢占式操作系统,简单好用,也可以很方便的移植到其他平台-Applied to arm, avr, h8 platform of non-preemptive operating system, easy-to-use, it can be easily ported to other platforms of
- 2022-03-01 10:46:08下载
- 积分: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
-
Operating systems courseware, there are many examples, detailed description of t...
操作系统课件,里面有很多的例子,详细的说明,生产者消费者问题的颠覆。-Operating systems courseware, there are many examples, detailed description of the problem of subversion producers and consumers.
- 2022-02-15 20:23:07下载
- 积分:1