搜索资源列表
sms_que
- 一个实现可以在进程间或者线程间通信的高效环形队列类,特别适用于那种生产者/消费者模型的应用中-an achievement in inter-process communication between threads or efficient circular queue category, particularly applicable to the kind of producer / consumer model of the application
Simulate_Process_Scheduling_Implement_by_C
- 模拟进程调度的C语言实现 一、 实验目的 体会UNIX 系统的进程调度方法,并通过一个简单的进程调度模拟程序的实现,加深对进程调度算法,进程切换的理解。 二、 实验内容 采用静态优先数的方法,编写一进程调度程序模拟程序。模拟程序只对你所设置的“虚拟PCB”进行相应的调度模拟操作,即每发生“调度”时,显示出当前运行的“PCB名字”、优先数、运行时间等,而不需要对系统中真正的PCB等数据进行修改。-C UNIX Two experimental use of static
Simulate_Allocate_Memory_Implement_by_C
- 模拟内存分配的c语言实现 六、 实验目的 了解用户程序分配内存以及回收所用内存的过程,加深对操作系统存储管理机制的理解。 七、 实验内容 采用首次适应法、最佳适应法或最差适应法,编写一内存分配和回收模拟程序。 (提示:“内存空闲区”数组的设置原理类似于实验一。动态地随机产生新的“内存分配”或“内存回收”请求,再按照你选定的分配算法修改这个数组。由于这个实验的重点在于内存分配,所以不考虑与某内存区相关的进程情况。) -simulation memory allocation
last
- 银行家算法的实现,可以输入进程数和资源数
ProcessManage
- 进程管理 用链表实现的 有三种算法实现的
yinhangjiasuanfa
- 银行家算法,实现了避免死锁的算法,是比较高级的程序,体现了资源分配与进程之间的关系
baogao
- 实习报告书写参考-----银行家算法的实现,设计一个n 个并发进程共享m 个系统资源的系统。进程可动态申请资源和释放资源,系统按各进程的申请动态的分配资源。要求采用银行家算法实现。包括流程图,以及详细的代码设计
操作系统进程内存管理模拟
- 有关此程序的功能请见程序中的帮助菜单程序难点1:创建Windows xp中按钮样式解决方法:使用标签控件与形状控件一起形成此样式此方法缺点:由于标签没有TAB事件,所以不能使用键盘控制按钮。此缺点解方法:截取键盘事件,以响应TAB事件(时间有限,没有实现)程序难点2:实时与分时混合应用解决方法:置一FOR循环在TIMER中,先判断并响应时实进程,再置另一当循环在TIMER中,无时实时再执行分时进程。程序难点3:分页式内存管理的调度方式解决方法:具体方法见程序中的注释。程序难点4:基于优先级的调度
多道程序的转换调度
- c语言编写上机运行已经通过,实现多道程序的转换调度(作业调度和进程调度结合在一起)-c languages running on the machine has passed, multiple procedures to achieve the conversion Scheduling (Job Scheduling and Dispatching process combines)
银行家算法解决死锁
- 应用银行家算法解决死锁问写的银行家算法,只能实现固定进程和资源的操作,不过要是应付作业什么的没有问题,绝对可以运行 -application bankers algorithm to solve the deadlock was asked bankers algorithm, the process can only be fixed and operational resources, but what if the deal with no operational problems and
编程实现生产者消费者或读写者的同步问题
- 编程实现生产者消费者或读写者的同步问题 编程实现生产者消费者或读写者的同步问题,目标掌握信号量实现进程同步及其应用-Programming producers or consumers who read and write the synchronization programming producers, consumers or those who read and write synchronization problem, the target volume to achieve
yinhangjiasuanfa
- 利用银行家算法实现资源分配。当某个进程提出资源请求是,假定先分配给它,然后查找个进程的请求,检查系统剩余资源是否由于分配而导致思死锁。若是则该进程等待;否则,为其进程所需资源。-Bankers algorithm using the allocation of resources. When a request is put forward the process, it is assumed that first be allocated to it, and then find a proc
jinchengdiaodu
- 可以实现进程调度的模拟算法,用很简单的程序在整体上体现进程调度的总过程。-Can achieve the process of scheduling the simulation algorithm, using a very simple procedure embodied in the overall process of the overall process of scheduling.
Producer
- 程序实现了两个生产者和两个消费者的生产者消费者问题(当生产者消费者数目再多时加上几个子进程就可以了)为了防止程序陷入死循环,给生产者限定了生产次数,同时为了方便截图,将次数限定的比较少。下面是我的程序:-Procedures to achieve the two producers and two consumers and producers of consumer issues (when the number of producers of consumers to add a few m
yhj
- 设计一个n 个并发进程共享m 个系统资源的系统。进程可动态申请资源和释放资源,系统按各进程的申请动态的分配资源。要求采用银行家算法实现。-N the design of a concurrent process of system resources m sharing system. Process can be dynamic application of resources and the release of resources, the system according to proc
sisuo
- 作系统进程通信(预防死锁)算法 Dijkstra银行家C语言实现 -Systematic process of communication (to prevent deadlock) algorithm Dijkstra bankers C language
111
- 此程序利用线程模拟进程,用p、v原语操作实现生产者与消费者的问题。-This procedure simulated the process of using thread, with p, v primitive operations to achieve the producer and consumer issues.
OSyinghangjiasuanfa
- 1.1 课程设计题目 银行家算法的模拟实现。应用银行家算法验证进程安全性检查及分配资源。 1.2 课程设计目的 本设计的目的是通过编写和调试一个系统动态分配资源的简单模拟程序,观察死锁产生的条件,并采用适当的算法,有效地防止和避免死锁地发生。 -1.1 Course Design Title Simulation of banker s algorithm implementation. Application of Banker s algorithm validat
Fenqu
- VC++ 实现操作系统 进程线程 及分区-VC++ to achieve operating system process thread and Zoning
banker
- 用银行家算法 ,实现资源分配 ,具有显示或打印各进程依次要求申请的资源数以及依次分配资源的情况-With the banker' s algorithm, resource allocation, with the display or print the application of the process followed by the number of resources required and the allocation of resources in order