搜索资源列表
dongtaifenqu
- 动态分区算法:程序模拟四种动态分区分配算法:首次适应算法、循环首次适应算法、最佳适应算法和最坏适应算法的工作过程。-Dynamic partitioning algorithm: program to simulate the dynamic partition of four algorithms: the first fit algorithm, loop the first fit algorithm, the best fit algorithm and the worst fit al
dd
- 操作系统进程调度算法,处理流程: 1 初始化--进程队列结构(包括:就绪队列,等待队列,运行队列)等必要的数据结构 init() 2 进入无限循环,反复调度队列 -Operating system process scheduling algorithm to deal with processes: 1 initialization- the process of the queue structure (including: ready queue, waiting queue
caozuoxitong
- 程序实现了两个生产者和两个消费者的生产者消费者问题(当生产者消费者数目再多时加上几个子进程就可以了)为了防止程序陷入死循环,给生产者限定了生产次数,同时为了方便截图,将次数限定的比较少。下面是我的程序:-Program has achieved two producers and two consumers and producers of consumer issues (when the number of producers and consumers to add a few more
os11
- 采用首次适应算法,循环首次适应算法,最佳适应算法,进行作业分配程序-job allocation process using the first-fit algorithm, the loop the first-fit algorithm, the best fit algorithm
The-banker
- 银行家算法我知道了它是避免死锁的一种重要方法,本实验要求用高级语言编写和调试一个简单的银行家算法程序。通过这个实验我体会和了解死锁和避免死锁的具体实施方法更加深了解有关资源申请、避免死锁等概念。死锁的产生,必须同时满足四个条件,互斥条件,请求和保持条件,不剥夺条件,环路等待条件只要破坏上述四个条件中除去互斥资源的条件外系统就不会发生死锁。通过这个算法可用解决生活中的实际问题。-The banker' s algorithm, I know it is an important method
operating-system
- 计银行家算法,void FCFS(int Han,int DiscL[]) //先来先服务算法(FCFS) void SSTF(int Han,int DiscL[]) //最短寻道时间优先算法(SSTF) int SCAN(int Han,int DiscL[],int x,int y) //扫描算法(SCAN) void CSCAN(int Han,int DiscL[]) //循环扫描算法(CSCAN) void N_Step_SCAN(int Han1,int DiscL
xiyiji
- (1) 设计全自动洗衣机的硬件电路和控制程序,实现如下功能。 (2) 实现全自动洗衣机的洗涤控制,其过程为:加水——》洗涤——》排水——》甩干——》加水——》漂洗——》排水——》甩干——》加水——》漂洗——》排水——》甩干——》报警。 (3) 实现全自动洗衣机洗涤电机的正反向旋转,在洗涤时,正向旋转1分钟,停止30秒,反向旋转1分钟,停止30秒,再正向旋转,重复前面的过程,直到定时时间到停止。 (4) 实现全自动洗衣机的各项洗涤定时控制,可以通过键盘设定此时间。 (5) 在各项控
CCDU
- 磁盘调度算法.设计程序模拟先来先服务FCFS、最短寻道时间优先SSTF、SCAN和循环SCAN算法的工作过程。-Disk scheduling algorithms. Designed program to simulate a first-come, first-served FCFS, shortest seek first SSTF, SCAN and SCAN loop algorithm works.
电磁三轮()
- 电磁三轮闭环程序速度2.2m左右可圆环,可借鉴写法(Electromagnetic three wheel, closed loop programThe speed of 2.2m is around the circle, and can be used for reference)