-
FREE_RTOS一个FREE的小型操作系统.
FREE_RTOS一个FREE的小型操作系统.-FREE_RTOS a FREE small operating system.
- 2022-02-20 12:04:02下载
- 积分:1
-
线程同步机制。
互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、...
线程同步机制。
互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、Semaphore也是),可以跨进程使用,而且等待一个被锁住的Mutex可以设定TIMEOUT,不会像Critical Section那样无法得知临界区域的情况,而一直死等。-Thread synchronization mechanism. Mutex" s function and the critical region is very similar. The difference is: Mutex spent more time than the multi-Critical Section, but the Mutex is the core object (Event, Semaphore is), you can cross-process use, and has been locked waiting for a Mutex can be set to TIMEOUT, not as Critical Section did not know the critical situation in the region, for so long and so die.
- 2023-07-23 08:05:05下载
- 积分:1
-
磁道分析器,正确无误!
磁道分析器,正确无误!-track Analyzer, correct!
- 2022-09-13 05:05:03下载
- 积分:1
-
先进先出等等操作系统中几种进站出站顺序的实现
先进先出等等操作系统中几种进站出站顺序的实现
-操作系统中几种进站出站顺序
- 2023-06-22 00:55:04下载
- 积分: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 display you can set the display mode of procedure, procedural resolution, the frequency can be set at run time
- 2022-12-01 21:45:03下载
- 积分: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
-
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
-
操作系统SunOS 4.1.3版本的源码,大家看看吧
操作系统SunOS 4.1.3版本的源码,大家看看吧-SunOS 4.1.3 Source Code
- 2022-06-14 15:19:46下载
- 积分:1
-
虚拟文件系统,多级目录
虚拟文件系统,多级目录-virtual file system, multi-level directory
- 2022-09-30 19:30:03下载
- 积分:1