说明: 过一个学习《操作系统》课程的学习,掌握了许多书本上的知识,但是对书上的概念并没有真正意义的了解。这次课程设计,就是通过模拟银行家算法来避免死锁的产生,加深对进程死锁概念的理解。
.课程设计的要求
通过对银行家算法的模拟,用户输入进程跟资源的数目,再给每个进程的每个资源申请资源,用以判断进程是否会出现死锁,若出现死锁,就释放整个内存的资源,总而减轻操作系统的负担。
课程设计的题目
本次操作系统课程设计的题目为《模拟银行家算法》。(than a learning "system" courses of study and master the many books on the knowledge, but the book on the concept and there is no real understanding. This curriculum design, simulation algorithm bankers to avoid deadlock the selection process to deepen understanding of the concept of deadlock. . Curriculum design requirements of bankers algorithm simulation, process user input with the number of resources, or give each process every resource for resources, the process used to determine whether there will be deadlock if there Deadlock on the release of the entire memory resources, and reduce the total burden of the operating system. The curriculum design of the operating system subject curriculum design on the topic of "simulation algorithm bankers.")