搜索资源列表
Diningphilosophersproblem11
- 学家进餐问题也是一个经典的同步问题,它是由Dijkstra提出并解决的。哲学家进餐问题是这样的:5个哲学家以思考、吃饭交替进行的方式生活,他们共享一张周围有5把椅子的圆桌,每人一把椅子,在桌子上摆有5个饭碗和5只筷子。当一个哲学家思考时,他不与邻座同事发生联系。当一哲学家饿了,他就试图拿起他左右两边的筷子吃饭。显然,他不能拿起已抓在他的邻座手中的筷子,于是,他可能只拿到一只甚至一只筷子也拿不到。当一个饥饿的哲学家得到了两只筷子,他就可以
DineRun
- 哲学家吃饭问题 当五个人都拿到左手边筷子,都等待拿右手边筷子,则因为谁都不能放下手中的筷子,这样就进入无止境的等待,构成死锁 * 解决方法1:奇数号先拿左边的筷子,偶数号先拿右边的筷子,即相邻两个人先拿其中间夹的筷子,使这个筷子成为临界资源; * 解决方法2:两边的筷子都空闲时,再拿筷子,if(chopstick.flag(n)==false&&chopstick.flag(n 5)==false); * 解决方
philosopher
- 模拟“五个哲学家”问题该实验的要点是,解决并发环境下,多进程之间的同步与互斥问题。进程间的同步互斥必然涉及进程间的通信(信息交换)。-Simulation of the " five philosophers" problem of the main points of the experiment, the solution to complicated circumstances, between the mult
src
- 计算机操作系统中解决哲学家吃饭的问题的VC++实现。-Computer operating system to address the issue of eating philosophers of VC++ to achieve.
lab1
- 操作系统中的 哲学家进餐问题 经典算法vc版-Operating system in the dining philosophers problem
Eating
- 根据哲学家就餐算法实现的程序。主要是解决可能出现的死锁问题。-Dining philosophers algorithm in accordance with procedures. Mainly to resolve the deadlock issues that may arise.
zhexuejiawenti
- 哲学家就餐问题 进程管理 -Dining philosophers problem of process management
DiningPhilosophor
- 模拟哲学家就餐的过程,通常是操作系统的课程设计的课题 -Dining philosophers process of simulation, the operating system is usually the subject of the curriculum design
LQZXJ
- 用c语言编写的哲学家算法模拟 很好很实用 可以方便初学者 掌握-With c language philosophers algorithm simulation is a good beginners can easily master the practical
zhexuejiajingcangwenti
- 哲学家进餐问题 代码精炼 程序优化带有课程设计报告-Code refined dining philosophers problem with the curriculum design process optimization report
DiningPhilosophers
- Linux下多线程实现哲学家进餐算法。使用了线程间协调通信,有优先级,防止了死锁。-Dining philosophers algorithm Multithread was utilized. Compiled in Linux GCC
review
- 操作系统复习资料 包括用p,v原语实现读写优先 哲学家用餐问题-Review the information, including operating system with p, v the original language to read and write to achieve the priority dining philosophers problem
zhexue
- 通过研究Linux的线程机制和信号量实现哲学家就餐问题的并发控制-By studying the Linux thread and semaphore mechanisms to achieve dining philosophers problem of concurrency control
eating
- 这是哲学家问题,采用C++语言来编程的。有界面运行!-This is the philosophers problem, using C++ programming language. There are interfaces to run!
Philosopher
- 哲学家算法 DOS 界面,比较简洁容易看清思路-Philosophers algorithm DOS interface, simple and relatively easy to see the train of thought
SystemOs
- 用多线程同步方法解决哲学家就餐问题 操作系统课程设计 Dining-Philosophers Problem-Dining-Philosophers Problem
zhexuejia
- 哲学家进餐问题,实现多进程间的互斥访问,进程间的竞争-Dining Philosophers problem, to achieve mutually exclusive access among the multi-process, the process of competition between
AISBasicTheoryandApplications
- The interest in studying the immune system is increasing over the last few years. Computer scientists, engineers, mathematicians, philosophers and other researchers are particularly interested in the capabilities of
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, crit
dininPhilosopher
- 有五个哲学家围坐在一圆桌旁,桌中央有一盘通心粉,每人面前有一只空盘子,每两人之间放一只筷子每个哲学家的行为是思考,感到饥饿,然后吃通心粉.为了吃通心粉,每个哲学家必须拿到两只筷子,并且每个人只能直接从自己的左边或右边去取筷子-There are five philosophers sitting around a round table next to the Central Authorities have a pasta table