-
基于VC++的页面置换程序
采用基于MFC框架设计,建立五个线程,使它们能够同时进行,其中一个进程提供每次要存入内存的页面,另外四个同时完成FIFO,LRU,LFO,OPT四个算法。
- 2022-09-18 12:40:04下载
- 积分:1
-
have been transplanted to the TI OMAP1610 processor Nucleus operating system sou...
已移植到TI OMAP1610处理器的Nucleus操作系统源码,并提供了一个Demo的应用程序。-have been transplanted to the TI OMAP1610 processor Nucleus operating system source code, and provide a Demo applications.
- 2022-11-04 10:50: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
-
总线驱动程序代码。
can bus driver code.
- 2022-03-06 05:53:23下载
- 积分:1
-
Linux的雏形,也就是Linux的创始人公布的最初代码。 现在各种分析Linux的书太多了,但对于初学者来说都过于复杂,难以理解,这个最初版本相对来说要简单多...
Linux的雏形,也就是Linux的创始人公布的最初代码。 现在各种分析Linux的书太多了,但对于初学者来说都过于复杂,难以理解,这个最初版本相对来说要简单多了,但一样可以让我们了解Linux的基本实现过程,大小只有70多K-Linux prototype, is the founder of Linux announced the initial code. Now, all kinds of analysis of the Linux too many books, but for a newcomer are too complicated to understand, the initial version to be relatively more simple, but you can help us understand the basic realization of Linux process, the size of only 70 K
- 2022-06-30 23:05:41下载
- 积分:1
-
由超
C#编写的超小的操作系统,有兴趣的可以下载研究一下,-prepared by the ultra-small operating system, are interested in the study can be downloaded,
- 2022-03-21 14:35:55下载
- 积分:1
-
mc9328mx1的初始化原代码,ini.h
mc9328mx1的初始化原代码,ini.h-initialization mc9328mx1 the original code, ini.h
- 2022-07-03 06:04:49下载
- 积分:1
-
I have just started learning a WINCE driver, wrote a program, and the U.S. share
一个我刚开始学习WINCE驱动程序时,写的一个程序,和大家分享一下-I have just started learning a WINCE driver, wrote a program, and the U.S. share
- 2022-02-05 22:16:18下载
- 积分:1
-
带模块显示进程管理,对于学习操作系统编程的开发人员有帮助...
带模块显示进程管理,对于学习操作系统编程的开发人员有帮助-Band module show that the process of management, programming operating system for the study will help developers
- 2022-08-10 16:07:09下载
- 积分:1
-
2视图之间的动画
Flip Animation for iphone between 2 views
- 2023-06-11 02:20:03下载
- 积分:1