搜索资源列表
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.
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
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.
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
main
- 柔性机械制造系统死锁的防止方法仿真哲学家就餐问题的java程序研究 -Flexible Manufacturing Systems deadlock prevention method for simulation of the dining philosophers problem of java program
java
- 实现哲学家进餐问题,一共有五位哲学家在思考或者进餐,解决进程同步的问题-Dining philosophers problem to achieve
[java]philosophers-eating
- 本java设计模拟经典的哲学家进餐的同步问题,实现一个既没有两邻座同时吃饭,又没有人饿死(永远拿不到一双筷子)的算法。内附运行说明。-The Java design simulation of the classic dining philosophers synchronization issues, to achieve a two sitting next to him to eat, and no one starved to death (never get a pair of cho
multiThread
- Java多线程基本使用与若干典型实例(如哲学家进餐、生产者消费者问题)-Java MultiThread example application code,include some famous issue like Philosophcian eatting,Producter and Consumer
Phy
- 操作系统 哲学家就餐问题 java实现 java代码-Operating system, the dining philosophers problem java java code
java
- 哲学家就餐问题,现代机械制造中的柔性系统模拟仿真-Dining philosophers problem, modern machinery manufacturing flexible system simulation
wqitten-Java
- 用java写的哲学家问题源代码,8个哲学家吃饭问题的源代码(Source code written in Java philosopher problem, 8 a philosopher to eat the source of the problem)
Mom_Child
- 本文件模拟了哲学家吃饭问题,改成了孩子洗手问题。(This document simulates the philosopher's eating problem and changes the child's handwashing problem.)
多线程调度——哲学家就餐
- 利用JAVA线程,解决哲学家就餐问题。当某一哲学家线程执行取得筷子方法时, 程序会根据该线程的名称来确定该线程需要使用哪两支筷子,并且分辨出哪支筷子编号是奇数,按照先奇后偶的顺序来试图取得这两支筷子。 如果这两支筷子都未被使用(即对应的数组元素值为 false),该哲学家线程即可先后取得这两支筷子进餐,否则会在竞争某支筷子失 败后执行 wait()操作进入 Chopsticks 类实例的等待区, 直到其他的哲学家线程进餐完毕放下筷子时用 notifyAll()将其唤醒。当某一哲学家线程放下筷子时