-
基于STM32F103的FreeRTOS系统移植
本人自己移植的基于Cortex-M3系列的STM32F103平台的FreeRTOS系统移植demo,适合初学者、以及想学习FreeRTOS系统的各位小伙伴,希望大家互相交流,提升自身职业技能和业务水平
- 2022-07-13 03:57:38下载
- 积分:1
-
操作系统程序,计算县城个数,进程名称,进程的管理
操作系统程序,计算县城个数,进程名称,进程的管理-Operating procedures, the county calculated the number, the process name, process management
- 2022-03-26 19:01:24下载
- 积分:1
-
本次程序的题目为:进程管理――支持多个进程并发运行的简单的进程管理模拟系统,对本实验的分析要求是:⑴系统中的同步机构采用信号量上的P、V操作的机制;⑵控制机构包...
本次程序的题目为:进程管理――支持多个进程并发运行的简单的进程管理模拟系统,对本实验的分析要求是:⑴系统中的同步机构采用信号量上的P、V操作的机制;⑵控制机构包括阻塞和唤醒操作;⑶时间片中断处理程序处理模拟的时间片中断;⑷进程调度程序负责为各进程分配处理机;⑸根据用户的需求来创建n个进程(n为即满足用户需求,又不超出系统可容的最大进程数),各进程互斥地访问使用临界资源 S1、S2;⑹使用动态优先数(如:随阻塞次数的增加而减小优先数,以提高其优先权);⑺进程结束后应能够撤消;⑻进程间能实现“发送”和“接收”两个消息缓冲通信操作;⑼系统在运行过程中随机打印出各进程的状态变换过程、系统的调度过程及公共变量的变化情况,在一个进程运行完毕,进入完成状态后,可以将该进程撤消,也可以动态的创建另一个新的进程。-the procedures on the topic of : process management-- to support multiple concurrent processes running a simple process management simulation system for the analysis of the experimental requirements are : 1 system of institutions using synchronous signals on the amount of P, V operation of the mechanism; 2 control agencies, including obstruction and awaken operation ; 3-time interrupt handling procedures-time simulation of interruption; 4 process scheduler is responsible for the allocation process processors; together according to the user"s needs to create process n (n that meet user needs, without exceeding the system can accommodate
- 2022-11-14 01:00:03下载
- 积分:1
-
This is a FIFO FIFO memory design source
这是一个先进先出FIFO存储器的设计源码-This is a FIFO FIFO memory design source
- 2022-06-19 06:10:09下载
- 积分:1
-
用ack汇编语言及80x86汇编指令完成一个运行在minix平台上的启动程序,并将其写入虚拟软驱(内容大于512B),实现:在无操作系统情况下运行一个简单的游戏...
用ack汇编语言及80x86汇编指令完成一个运行在minix平台上的启动程序,并将其写入虚拟软驱(内容大于512B),实现:在无操作系统情况下运行一个简单的游戏程序。(我们选择的是“俄罗斯方块”。 )即裸机游戏-With ack, and 80x86 assembly language instructions to complete an assembly platform running on minix startup program and write the virtual floppy drive (content is greater than 512B), achieved: in the absence of operating system instances to run a simple game programs. (We chose " Tetris" . ) that the bare-metal games
- 2023-01-28 04:10:04下载
- 积分:1
-
测试系统环境变量的程序
测试系统环境变量的程序-test system environment variables procedures
- 2022-07-11 03:25:55下载
- 积分:1
-
操作系统加载的源代码
操作系统加载的源代码-loading the operating system source code
- 2022-04-23 03:36:27下载
- 积分:1
-
GESPI 2.0 dynamic system modeling tools
GESPI 2.0动态系统模拟工具 -GESPI 2.0 dynamic system modeling tools
- 2022-01-24 08:57:15下载
- 积分:1
-
蓝牙blue tooth sco协议栈,在Linux操作系统下编译,该协议栈提供了有用工具来配置模块参数...
蓝牙blue tooth sco协议栈,在Linux操作系统下编译,该协议栈提供了有用工具来配置模块参数-blue tooth Merom Bluetooth protocol stack, the compiler under Linux operating system, The protocol stack provides a useful tool to configure parameters module
- 2023-02-12 00:10: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