搜索资源列表
philosopher.rar
- 用JAVA做的模拟电梯的程序,是自己做的
Dining.04
- 一个哲学家一起进餐的经典问题的一个程序,供交流学习之用-dine a philosopher of the classic problems of a procedure for the exchange of learning with
zhexue05
- 进程同步,哲学家进餐共享临界区变量.定义信号量机制控制进程不互斥!-process synchronization, philosopher dining area share critical variables. Definition signal to the process control mechanism not contradict!
lunch
- 哲学家进餐问题 在多线程中如何避免死锁。 问题描述:有五位哲学家围绕着餐桌坐,每一位哲学家要么思考 要么等待,要么吃饭。为了吃饭,哲学家必须拿起两双筷子(分 别放于左右两端)不幸的是,筷子的数量和哲学家相等,所以每 只筷子必须由两位哲学家共享-dining philosophers problem in multithreaded how to avoid deadlock. Problem descr iption : five philosophers sittin
zhexuejiajinchan3
- 在Linux环境下,用C语言实现哲学家进程问题。-the Linux environment, using C language philosopher process.
philosopher
- 用图形界面模拟如下场景:一个圆桌上有一个大碗面,5个盘子,每位哲学家一个,还有5把叉子。每个想吃饭的哲学家将做到桌子旁边分配给他的位置上,使用盘子两侧的叉子,取面和吃面。问题是:设计一个算法以允许哲学家吃饭。算法必须保证互斥(没有两位哲学家同时使用同一把叉子),同时还要避免死锁和饥饿。
vc_semaphore
- 自己写的。用信号量机制来解决哲学家问题中的死锁。附有详细注解。-wrote it myself. Using signal volume philosopher mechanism to solve the problem of deadlock. Accompanied by a detailed explanation.
philosopher
- 采用c语言实现哲学家进餐问题,实现进程机制的管理!-Using c language implementation philosopher dine and realize process of management mechanism
philosopher.rar
- 用JAVA做的模拟电梯的程序,是自己做的, Simulation elevator procedure does which with JAVA, is oneself does
zhwxuejia
- 一群哲学家围坐在一个圆桌,手上持有密码m,并从1开始编了号取初值m,哲学家从1开始报数, 报到m的哲学家停止吃饭,退出圆桌,求哲学家退出的顺序。要求:n和初值m由完家输入.手上的密码随机产生.最后要打印出编号对应的密码,输出哲学家离开的相后顺序-A group of philosophers sitting in a round-table, holding hands password m, and from the No. 1 started to take the initial valu
001
- 一群哲学家围坐在一个圆桌,手上持有密码m,并从1开始编了号取初值m,哲学家从1开始报数, 报到m的哲学家停止吃饭,退出圆桌,求哲学家退出的顺序。要求:n和初值m由完家输入.手上的密码随机产生.最后要打印出编号对应的密码,输出哲学家离开的相后顺序-A group of philosophers sitting in a round-table, holding hands password m, and from the No. 1 started to take the initial val
200811182357586855
- 一群哲学家围坐在一个圆桌,手上持有密码m,并从1开始编了号取初值m,哲学家从1开始报数, 报到m的哲学家停止吃饭,退出圆桌,求哲学家退出的顺序。要求:n和初值m由完家输入.手上的密码随机产生.最后要打印出编号对应的密码,输出哲学家离开的相后顺序-A group of philosophers sitting in a round-table, holding hands password m, and from the No. 1 started to take the initial val
002
- 一群哲学家围坐在一个圆桌,手上持有密码m,并从1开始编了号取初值m,哲学家从1开始报数, 报到m的哲学家停止吃饭,退出圆桌,求哲学家退出的顺序。要求:n和初值m由完家输入.手上的密码随机产生.最后要打印出编号对应的密码,输出哲学家离开的相后顺序-A group of philosophers sitting in a round-table, holding hands password m, and from the No. 1 started to take the initial valu
dine
- Dining Philosopher s Problem
Philosopher
- 关于操作系统哲学家进餐的动态演示程序,清晰的分析了死锁发生的情形和修正死锁。-Dining philosophers about the operating system dynamic presentation procedures, a clear analysis of the deadlock situation occurred and amendments to deadlock.
4
- unix下实现5个哲学家之间的取食和思考的问题的一个实验-unix implementation of five between the philosopher and consider the problem of feeding an experimental
philosopher
- 模拟“五个哲学家”问题该实验的要点是,解决并发环境下,多进程之间的同步与互斥问题。进程间的同步互斥必然涉及进程间的通信(信息交换)。-Simulation of the " five philosophers" problem of the main points of the experiment, the solution to complicated circumstances, between the multi-process synchronization and
Philosopher
- 哲学家就餐问题在windows下的实现。动态打印哲学家进程的状态(就餐、等待、思考)-The dining philosophers problem under windows. The state of the process of dynamic print philosopher (eating, waiting, thinking)
bankerand-philosopher
- 模拟银行家算法解决哲学家问题的小程序,程序能正确运行完不会造成死锁。-Analog bankers algorithm to solve the problem of small philosopher, the program runs correctly completed without causing deadlock.
philosopher
- 编制模拟“五个哲学家”问题的程序 目的: 学习和掌握并发进程同步的概念和方法。 要求: 1、程序语法 philosopher [ -t <time> ] <time>是哲学家进餐和沉思的持续时间值,缺省值为2秒。 2、五个哲学家的编号为0~4,分别用五个进程独立模拟。 3、程序的输出要简洁,仅输出每个哲学家进餐和沉思的信息。例如,当编号为3的哲学家在进餐时,就打印: philosopher 3 is eating