搜索资源列表
eating
- 模拟哲学家进餐的同步问题,实现一个既没有两邻座同时吃饭,又没有人饿死(永远拿不到一双筷子)的算法
zhexuejia
- 哲学家进餐问题实现-dining philosophers problem of achieving
DiningPhilosophor1
- 哲学家进餐问题,课程设计,界面友好,实现功能很好。模拟了同步互斥
eat
- 哲学家进餐问题Java版-dining philosophers problem Java version
哲学家进餐问题
- linux进程间通信,父进程,子进程的创建-inter-process communication, parent process, the process of creating son
PhilospherDining
- 它是一个经典的算法-哲学家进餐问题,用VC++实现,通过它大家可以掌握Windows中的多线程编程-It is a classic algorithm-the Dining Philosophers, VC + +, through which we can grasp the Windows multi-threaded programming
乳猪
- 一个多线程同步问题. 哲学家进餐问题!! java实现-a multithreaded synchronization. Dining Philosophers problem! ! Java Implementation
Rousseau1
- 五个哲学家,它们的生活方式是交替地进行思考和进餐。哲学家们共用一张圆桌,分别坐在周围的五张椅子上。在圆桌上有五个碗和五支筷子,平时一个哲学家进行思考,饥饿时便试图取用左、右最靠近他的筷子,只有在他拿到两支筷子时才能进餐,进餐毕,放下筷子又继续思考。-five philosophers, their lify style is alternately thinking and eating. philosophers share comm
Java问题
- 本设计使用Java语言来实现一个生产者消费者问题,里边有详细的使用说明,可以作为课程设计使用。-use of the Java language designed to achieve a producer consumer issues, along with detailed instructions. can be used as a curriculum design.
chip(单片机源程序)
- 好东西 关于单片机的一些重要的代码本程序是操作系统中比较典型的线程同步算法中的哲学家进餐问题,为防止死锁,采取了两个条件(筷子空闲)同时满足时再允许进餐的办法来解决。期望与大家一起学习交流!-good things on SCM some important source of this procedure is more typical operating system threads simultaneously count the
threadphilosopher
- 利用线程方案实现实现哲学家问题.设置五个信号量代表五把叉子,初使值均为1,表示5把叉子均可以取,设置五个线程代表5个哲学家,其值分别为0~4,规定奇数号的哲学家先拿起他左边的叉子,然后再去拿他右边的叉子 而偶数号的哲学家则相反.按此规定,将是1,2号哲学家竞争1号叉子,3,4号哲学家竞争3号叉子.即五个哲学家都竞争奇数号叉子,获得后,再去竞争偶数号叉子,最后总会有一个哲学家能获得两支叉子而进餐。而申请不到的哲学家进入阻塞等待队列,根FI
vc++eatingcode
- 非常经典的哲学家进餐问题(与进程有关)有三个哲学家围着一张桌子,桌子上摆着一碗通心粉;桌子上有且只有三支筷子,且每只筷子摆放在每两个哲学家中间;哲学家必须得到两支筷子才能吃饭,否则就处于思考状态;每个哲学家取筷子必须先取得左边,而后取右边的。 -very classic philosophers dining (with the process) is a three philosophers around the table, o
java
- 用java实现简单的:简单聊天程序 多线程 计数器 记事本 马鞍点 扇子 学生成绩管理系统 异常处理 字符串类-java with a simple realization : Chat simple procedures multithreading counter saddle point in the notebook fan student performance management syste
2006527168
- 程序是操作系统中比较典型的线程同步算法中的哲学家进餐问题,为防止死锁,采取了两个条件(筷子空闲)同时满足时再允许进餐的办法来解决。-Procedure is a typical operating system thread synchronization algorithm in the dining philosophers problem, in order to prevent deadlock and take the two
eating
- 哲学家进餐问题的详细解答,请大家共同提高-Dining philosophers problem in detail, let us together raise
Philosopher
- 操作系统中经典的哲学家进餐问题,使用VC6.0可以进行编译-Operating system in the classic dining philosophers problem, use the VC6.0 compiler can
EX3_x86L
- 哲学家就餐问题的模拟(ucos实现) 问题描述: 5个哲学家围绕一张圆桌而坐,桌子上放着5支筷子,每两个哲学家之间放一支; 哲学家的动作包括思考和进餐; 进餐时需要同时拿起他左边和右边的两支筷子;思考时则同时将两支筷子放回原处。 程序解决了哲学家的就餐问题。 避免死锁(deadlock) 避免饥饿(starvation) 程序使用的使用消息邮箱模拟二值信号量-philosopher eatin
DiningPhilosophers
- Linux下多线程实现哲学家进餐算法。使用了线程间协调通信,有优先级,防止了死锁。-Dining philosophers algorithm Multithread was utilized. Compiled in Linux GCC
zhexuejia
- 哲学家进餐问题,实现多进程间的互斥访问,进程间的竞争-Dining Philosophers problem, to achieve mutually exclusive access among the multi-process, the process of competition between