-
S3C44B0X开发实例源码,uCos系统,用SDT2.5开发
S3C44B0X开发实例源码,uCos系统,用SDT2.5开发-S3C44B0X examples of source code development, uCos system, developed by SDT2.5
- 2023-08-18 03:40:03下载
- 积分:1
-
Stanford iPhone课程配套源码,介绍people picker的用法。
Stanford iPhone课程配套源码,介绍people picker的用法。-source code of Stanford iPhone course, demo of how to use People picker
- 2022-03-21 05:03:07下载
- 积分:1
-
vb1weqt rfwergertgerwtewr t
vb1weqt rfwergertgerwtewr t
- 2022-04-20 20:19:25下载
- 积分:1
-
T-kernel Tcp/ip Protocol Stack Sample
T-kernel Tcp/ip Protocol Stack Sample-T-kernel TCP/ip Protocol Stack Sample
- 2022-03-16 03:35: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
-
D:jh哲学家吃饭DINPHIL.rar哲学家吃饭
D:jh哲学家吃饭DINPHIL.rar哲学家吃饭-D : jh philosopher eat DINPHIL.rar philosopher dinner
- 2023-06-16 13:20:03下载
- 积分:1
-
页面置换算法 先进先出、最近最久未使用、最佳页面置换算法...
页面置换算法 先进先出、最近最久未使用、最佳页面置换算法-FIFO page replacement algorithms, the recent use of the most long-lost, the best page replacement algorithm for
- 2023-06-21 10:20:03下载
- 积分:1
-
demonstration of the process of how to use the preparation of high
本程序演示了如何利用编写高层应用程序与USB接口通信。有必要了解主机是如何识别USB设备以及USB工作的基本原理。-demonstration of the process of how to use the preparation of high-level application program interface with the USB communication. It is necessary to understand the mainframe is how to identify and USB USB devices to the basic tenets.
- 2022-03-18 20:58:56下载
- 积分:1
-
这是一个我经过研究学习,理解了别人得程序,感觉很不错的源程序....
这是一个我经过研究学习,理解了别人得程序,感觉很不错的源程序.-This is a research study I read, understand others in the process, I feel very good source.
- 2023-02-11 21:45:03下载
- 积分:1
-
处理器系统的进程调度编写程序完成单处理机系统中的进程调度,要求采用时间片轮转调度算法。实验具体包括:首先确定进程控制块的内容,进程控制块的组成方式;然后完成进程...
处理器系统的进程调度编写程序完成单处理机系统中的进程调度,要求采用时间片轮转调度算法。实验具体包括:首先确定进程控制块的内容,进程控制块的组成方式;然后完成进程创建原语和进程调度原语;最后编写主函数对所作工作进程测试。-processor systems process scheduling procedures for the preparation of single-processor system to complete the scheduling process, requiring time-Cycle Scheduling algorithm. Specific experiments include : first determine the process control block, process control block of composition; Then complete the process of creating original language and the process of scheduling the original language; Final preparation of the main function of the work done by the process of testing.
- 2023-03-02 07:10:03下载
- 积分:1