资源列表
Archive
- Node auth for rabbitMQ
时间片轮转
- 用C语言简单实现调度算法时间片轮转效果,操作系统小实验(Simple realization of the effect of time slice rotation)
sockets
- socket communication(socket communication for client)
filesystem
- 实现了简单的操作系统的文件系统,运用的是c++语言,适用于操作系统课程作业(A file system that implements a simple operating system)
banker
- 基于codeblocks下编程的银行家算法(A banker algorithm based on CodeBlocks programming)
button_if
- HAL STM32 RT-OS botton_if
bank
- 实现了银行家算法。 输入包含t个测试,每个测试的输入中,第一行为n和m,第二行为AVAILABLE[m],接下来的2*n行分别为,ALLOCATION中每一行和NEED每一行的值。每一个测试样例输出一行加过,若系统安全则输出Yes,否则输出No,接着是对应的安全序列结果,以空格作为间隔。 样例输入: 1 3 4 1 2 2 2 0 0 0 1 1 1 1 2 2 2 1 0 0 0 1 1 3 2 1 0 1 2 2 3 样例输出: Yes 0
页面置换
- 页面置换算法的实现,FIFO页面置换,OPT页面置换,LRU页面置换(Implementation of page replacement algorithm, FIFO page replacement, OPT page replacement, LRU page replacement)
银行家算法
- 确认系统的安全性,用作操作系统实验,能直接运行(Confirm the security of the system)
银行家算法
- 银行家算法是一个避免死锁的著名算法,是由艾兹格·迪杰斯特拉设计的一种避免死锁产生的算法。它以银行借贷系统的分配策略为基础,判断并保证系统的安全运行。(Banker algorithm is a well-known algorithm to avoid deadlock. It is a algorithm designed by Azeg Dijkstra to avoid deadlock. It is based on the allocation strategy of bank len
test1
- 生产者消费者问题-经典进程同步问题——生产者消费者问题及其同步方案;(produce&comsumer produce&comsumerproduce&comsumerproduce&comsumer)
consumer_producer
- 1、n个缓冲区的缓冲池作为一个临界资源: 当生产者任务从数据源—文件中读取数据后将会申请一个缓冲区,并将此数据放缓冲区中。 消费者任务从一个缓冲区中取走数据,并将其中的内容打印输出。 当一个生产者任务正在访问缓冲区时,其他生产者和消费者任务不能访问缓冲区。 当一个消费者任务正在访问缓冲区时,其他其他生产者和消费者任务不能访问缓冲区。 使用互斥量实现对缓冲池的互斥访问。(1. Buffer pool of N buffers as a critical resource: When the pr