-
扩展的动态内存机制
任务综述
本任务扩展了自己私有的内存管理机制。首先使用预先规划的思想,使用预先分配的内存池和内存分区,再通过使用消息队列作为内...
扩展的动态内存机制
任务综述
本任务扩展了自己私有的内存管理机制。首先使用预先规划的思想,使用预先分配的内存池和内存分区,再通过使用消息队列作为内存池的管理机制处理内存块分配与释放的过程,而消息队列中保存的是每个预先申请内存块的地址。当用户需要分配一个内存块时,使用msgQReceive() 函数从消息队列中获取一个相应大小的内存块地址;当用户需要释放一个内存块时,则使用msgQSend()函数将内存块首地址发送回消息队列中。通过这种方法,减少了内存反复申请与释放产生外部碎片的可能,并能够有效利用预先分配的思想减少内部碎片。同时也通过消息队列的特性实现了方便的内存块申请与释放的管理操作。
同时,本系统作为扩展的动态内存管理机制,引入了定制的内存分配与释放功能,使用了互斥机制保证操作安全性和一系列告警机制。在保证内存分配与释放安全有序的基础上,还增加了管理监视机制。
其系统具体实现参照系统实现部分。-none
- 2022-10-26 02:25:03下载
- 积分:1
-
Enter the shutdown time can be turned off at the appointed time, that is, plans...
输入关机的时间即可在指定的时间关机,就是添加at的计划任务。在等待关机的时间内本程序不会运行。-Enter the shutdown time can be turned off at the appointed time, that is, plans to add at the mission. Waiting time of the shutdown process will not run.
- 2022-02-02 21:30:10下载
- 积分:1
-
Used for computer and NI
用来实现计算机与NI-GPIB卡的通信,具备读写功能-Used for computer and NI-GPIB card communications, have to read and write functions
- 2022-12-13 05:35:03下载
- 积分:1
-
模拟采用二级目录结构的磁盘文件系统中文件操作
模拟采用二级目录结构的磁盘文件系统中文件操作-Simulation of two-level directory structure of the disk file system file operations
- 2022-10-14 23:05:03下载
- 积分:1
-
uCOS
uCOS-II实例内核技术与应用实例。应用程序开发与调试。实时内核与应用程序框架结构分析-uCOS-II
- 2022-11-20 17:15:03下载
- 积分:1
-
操作系统课程设计报告,文件系统管理过程
模拟文件系统工作过程,实现文件的存储和删除...
操作系统课程设计报告,文件系统管理过程
模拟文件系统工作过程,实现文件的存储和删除
-Report operating system curriculum design, file system management process simulation process file system, file storage, and delete
- 2022-11-25 03:30:03下载
- 积分:1
-
采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时...
采用静态优先数的方法,编写一进程调度程序模拟程序,进程状态为就绪、运行、阻塞三种。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改-priority number using the static method, the preparation process of scheduling a process simulation program, the process in place for the state, running, blocking three. Simulation program only right you have set up a "virtual PCB" accordingly scheduling simulation operation, that is, each occurrence "Dispatch" shows that the current "PCB name" priority number, running time, without the need for a real system, such as PCB data changes
- 2023-02-24 21:55:02下载
- 积分:1
-
n/b
很好用的DOS工具,可以在XP下面启动到DOS方式
具体内容可以参考代码-n/b
- 2022-03-24 18:10:32下载
- 积分:1
-
Linux system development of a strong reference books! ! ! ,
Linux系统开发的强有力的参考书!!!,《Linux内核分析与操作系统设计》-Linux system development of a strong reference books! ! ! ,
- 2022-02-04 23:17:41下载
- 积分:1
-
attention : 1. OS.jar Java package for two executable files. Due to the time and...
注意: 1. OS.jar为Java打包可执行文件 2. 由于时间,和界面空间问题,每个进程的资源拥有情况没有详细列明.如果要认真检查 程序的正确性,可以重新编译运行,然后查看Dos界 面下的输出.因为Dos界面下会输出 每个进程的资源情况(包括每个进程对每类资源的最大需求,分配情况,和所欠资源情况. 3. 资源设置中,进程设置应小于100个,资源类数应小于20个.-attention : 1. OS.jar Java package for two executable files. Due to the time and space interface, each process of the availability of resources, no details. If we were to check the correctness of procedures can recompile running, and then checking Dos interface output . because Dos output interface will process each of the resources (including each process for each category of the biggest resources demand, distribution, and outstanding resources. 3. resources set up, the process set up should be less than 100, the resource shall be less than 20.
- 2023-04-06 21:55:03下载
- 积分:1