文件名称:systemtest
介绍说明--下载内容均来自于网络,请自行研究使用
本程序是操作系统课程实验的死锁的检测与解除。解除方式采用撤销进程的方法。全部用数组实现。在ubuntu(linux)下编译通过。为本人原创。每次撤销个代价最小的死锁进程,释放其所拥有的资源。
所有数据都是可以自行设置的,包括进程个数,资源种类数,各进程的代价等。-This procedure is the operating system course experiment Deadlock Detection and disarmament. The lifting of the way the use of revocation process. All use the array to achieve. In ubuntu (linux) adopted under the compiler. For my original. Every time the cost of revocation of a deadlock the process of the smallest, the release of its resources. All data are free to set up, including the process of the number, type the number of resources, such as the process of price.
所有数据都是可以自行设置的,包括进程个数,资源种类数,各进程的代价等。-This procedure is the operating system course experiment Deadlock Detection and disarmament. The lifting of the way the use of revocation process. All use the array to achieve. In ubuntu (linux) adopted under the compiler. For my original. Every time the cost of revocation of a deadlock the process of the smallest, the release of its resources. All data are free to set up, including the process of the number, type the number of resources, such as the process of price.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
deadlock
deadlock.c
deadlock.c