搜索资源列表
63535277productor
- 生产者消费者的JAVA代码,看有没有人需要用,或者大家发个哲学家进餐的代码共同研究!-producers and consumers of Java code, to see no one needs to use You made a philosopher dining code joint research!
ChopStickTest
- 哲学家就餐问题java版。我对这个知道的不多,大家可以研究研究。-dining philosophers problem java version. I know this much, and we can studies.
哲学家就餐问题分析
- 该问题与以前经典的五个哲学家五根筷子不同,这次是每个哲学家身边均有一副刀叉,总的资源是充足的-problems with the previous five classic philosophers five different chopsticks, this is the philosopher of each side have a knife and fork, the total resources are adequate
zhexuejia
- 计算机操作系统哲学家就餐问题的课程设计报告。无解压密码。-computer operating system dining philosophers problem of the design report. No extract passwords.
hj
- 用java写的哲学家问题源代码8个哲学家吃饭问题的源代码
死锁—哲学家吃饭问题
- 死锁—哲学家吃饭问题 java写的-Deadlock-food philosopher wrote java
thread
- 利用JAVA实现了多线程编程,解决哲学家就餐问题
philosopher(1.6)
- 哲学家进餐问题——Java语言实现 哲学家进餐问题是一个多线程运用的经典例子,涉及到线程同步/互斥,临界区访问问题以及一个避免死锁的解决方法。 有五个哲学家绕着圆桌坐,每个哲学家面前有一盘面,两人之间有一支筷子,这样每个哲学家左右各有一支筷子。 哲学家有2个状态,思考或者拿起筷子吃饭。如果哲学家拿到一只筷子,不能吃饭,直到拿到2只才能吃饭,并且一次只能拿起身边的一支筷子。一旦拿起便不会放下筷子直到把饭吃完,此时才把这双筷子放回原处。 如果,很不幸地,每个哲学家拿起
JAVA
- 这是哲学家问题算法,它能够自动地实现。希望大家好好使用
DineRun
- JAVA实现的哲学家进餐问题,5个哲学家,为着一个圆桌,相互之间放着一只筷子,当哲学家饿了的时候边可拿起,傍边的筷子进餐,完了在放下-Rousseau
java_threaddemo
- 哲学家就餐是一个经典的Java多线程编程的实例,这是图形版。涉及到线程同步与互斥,临界区访问问题以及避免死锁的方法。 -Dining philosophers is a classic multi-threaded Java programming examples, this is the graphics version. Related to thread synchronization and mutual exclusion, critical area to visit, as we
operation-2
- 哲学家就餐问题--操作系统理解pv原语 解决进程间同步问题-operation problem of Dining Philosophers
philosopher_java
- 这是Java图片版的哲学家就餐经典问题的实现,虽然界面简单,但是对于情况的模拟还是比较真实的。-This is a Java image version of the classic dining philosophers problem to achieve, although the interface simple, but for the simulation of the situation is quite true.
Diningphilosophersproblem
- 哲学家进餐问题假如所有的哲学家都同时拿起左侧筷子,看到右侧筷子不可用,又都放下左侧筷子, 等一会儿,又同时拿起左侧筷子,如此这般,永远重复。对于这种情况,即所有的程序都在 无限期地运行,但是都无法取得任何进展,即出现饥饿,所有哲学家都吃不上饭。-Dining philosophers problem
java_threaddemo
- 哲学家就餐是一个经典的Java多线程编程的实例,这是图形版。涉及到线程同步与互斥,临界区访问问题以及避免死锁的方法。 -Dining Philosophers is a classic example of Java multi-threaded programming, it is graphic version. Related to thread synchronization and mutual exclusion, critical access issues and ways to
chopsticktest
- 这是一个用多线程编写的哲学家进餐问题,里面用到了多线程中的一些知识。-This is a multi-threaded, prepared with the dining philosophers problem, which uses a multi-threaded some knowledge.
ZxjFrame
- 哲学家就餐问题,图像化描述,可以让你能更加好的理解相关操作系统问题。-Dining philosophers problem, descr iption of the image, allowing you to more good understanding of the issues related to the operating system.
problem
- 哲学家就餐问题的解决,操作系统中线程与并发的问题-Solution to the dining philosophers problem
philosophy
- 哲学家就餐问题,五个哲学家只有五只筷子,保证所有哲学家不饿死的情况下实现就餐问题!-about the philosopher‘s dinner
多线程调度——哲学家就餐
- 利用JAVA线程,解决哲学家就餐问题。当某一哲学家线程执行取得筷子方法时, 程序会根据该线程的名称来确定该线程需要使用哪两支筷子,并且分辨出哪支筷子编号是奇数,按照先奇后偶的顺序来试图取得这两支筷子。 如果这两支筷子都未被使用(即对应的数组元素值为 false),该哲学家线程即可先后取得这两支筷子进餐,否则会在竞争某支筷子失 败后执行 wait()操作进入 Chopsticks 类实例的等待区, 直到其他的哲学家线程进餐完毕放下筷子时用 notifyAll()将其唤醒。当某一哲学家线程放下筷子时