文件名称:src
介绍说明--下载内容均来自于网络,请自行研究使用
研究死锁时的经典案例,哲学家进餐,这里有五个不同的实现(因为在对这个问题的研究过程中前人提出了很多的思路),这里实现了最经典常见的五种-The Case Study of deadlock, the Dining Philosophers, here are five different implementations (as in the study of this issue in the previous made a lot of ideas), where realization of the most common of the five classic
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src\Chandy_Misra方法
...\................\Chopsticks.java
...\................\DinningPhi.java
...\................\Philosophy.java
...\................\Test.java
...\超时释放法
...\..........\ReleaseIfOverTime.java
...\确定两只都可用才可以拿
...\......................\Chopsticks.java
...\......................\Philosopher.java
...\......................\Test.java
...\死锁
...\....\TestDeadLock.java
...\资源加锁法
...\..........\PerThread.java