-
这个算法不是很完美,但也算是一点成绩了.
这个算法不是很完美,但也算是一点成绩了.-A good algorithm, though not perfect :-)
- 2022-03-16 20:10:32下载
- 积分:1
-
一个简单的例子,为多线程和信号
此示例实现阅读室模型。假设有 8 个席位,在阅览室里,在等候室 5 个座位。Readers" 的行动会像这样: 1) 一位读者在前台服务注册他的信息,他进入阅览室之前。他在他离开后注销。前台服务只能处理一个 time.2 的一位读者) 如果一个读者发现阅读房间里满是,他会在等待 room.3 等) 如果在候诊室里没有席位,他将 leave.*The 主线程将启动 20 个读取器线程。读取器线程将重复上述行为。读者的行为记录打印在屏幕上和写到一个文件中。
- 2022-01-22 03:57:30下载
- 积分:1
-
调度器 Scheduler
1) 超级可以移植性,与CPU无关,几乎任何支持C语言编程的CPU都可以用!(本文仅仅以51单片机为例而已,但实际上可以任意移植)
2) 小之又小, 原理很简单,一看就懂。
3) 省之又省, 可以说对RAM和ROM省到极致。
4) 取protothread之精华,将定时器与状态机和伪线程语法融合到一个框架,任务函数可以有两种写法。
5) 基于定时器触发,调度效率高,最大化减少无效的代码运行时间。
- 2022-07-18 14:50: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
-
处理器系统的进程调度编写程序完成单处理机系统中的进程调度,要求采用时间片轮转调度算法。实验具体包括:首先确定进程控制块的内容,进程控制块的组成方式;然后完成进程...
处理器系统的进程调度编写程序完成单处理机系统中的进程调度,要求采用时间片轮转调度算法。实验具体包括:首先确定进程控制块的内容,进程控制块的组成方式;然后完成进程创建原语和进程调度原语;最后编写主函数对所作工作进程测试。-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
-
a micro
一个微型操作系统源码-a micro-source operating system
- 2022-07-07 23:14:16下载
- 积分:1
-
银行家算法 已分配和可利用的 利用银行家算法可以避免死锁的发生...
银行家算法 已分配和可利用的 利用银行家算法可以避免死锁的发生-Banker" s algorithm has been allocated and the use of banker" s algorithm can be used to avoid the occurrence of deadlock
- 2023-01-11 21:50:04下载
- 积分:1
-
TSOT: experimental simulation of a process queue, the queue using linked list fo...
TSOT:实验一 进程队列模拟,队列使用链表形式。
TSOP:实验二 页面请求模拟,生成表单一中的页面地址映射有严重问题,我没有重做。
TAOT:实验三 进程调度。
TAOB:实验四 银行家算法,不能自行设定进程数量,用的是递归算法。-TSOT: experimental simulation of a process queue, the queue using linked list form. TSOP: 2 page requests simulation experiment to generate the page address in the form of a mapping have serious problems, I did not redo. TAOT: Experiment 3 process scheduling. TAOB: Experiment 4 banker" s algorithm, not the number of self-setting process, using a recursive algorithm.
- 2022-08-22 00:34:56下载
- 积分:1
-
模拟进程同步算法,包括FCFS(先到先服务),SJF(最短优先),RR(Round...
模拟进程同步算法,包括FCFS(先到先服务),SJF(最短优先),RR(Round-Robin),优先权调度及多级队列调度-Simulation process synchronization algorithms, including FCFS (first come first serve), SJF (shortest first), RR (Round-Robin), priority scheduling and multi-level queue scheduling
- 2022-06-02 17:20:17下载
- 积分:1
-
FIFO and high response ratio, minimum priority
先进先出,高响应比,最短优先-FIFO and high response ratio, minimum priority
- 2022-03-15 13:50:23下载
- 积分:1