搜索资源列表
fivephilosopher
- 假如所有的哲学家都同时拿起左侧叉子,看到右侧叉子不可用,又都放下左侧叉子,等一会儿,又同时拿起左侧叉子,如此这般,永远重复。对于这种情况,即所有的程序都在无限期地运行,但是都无法取得任何进展,即出现饥饿,所有哲学家都吃不上饭。所以规定奇数号的哲学家先拿起他左边的叉子,然后再去拿他右边的叉子 而偶数号的哲学家则相反.按此规定,将是0,1号哲学家竞争0号叉子,2,3号哲学家竞争2号叉子.即五个哲学家都竞争奇数号叉子,获得后,再去竞争偶数号叉
threadphilosopher
- 利用线程方案实现实现哲学家问题.设置五个信号量代表五把叉子,初使值均为1,表示5把叉子均可以取,设置五个线程代表5个哲学家,其值分别为0~4,规定奇数号的哲学家先拿起他左边的叉子,然后再去拿他右边的叉子 而偶数号的哲学家则相反.按此规定,将是1,2号哲学家竞争1号叉子,3,4号哲学家竞争3号叉子.即五个哲学家都竞争奇数号叉子,获得后,再去竞争偶数号叉子,最后总会有一个哲学家能获得两支叉子而进餐。而申请不到的哲学家进入阻塞等待队列,根FI
DINPHIL
- D:\\jh\\哲学家吃饭\\DINPHIL.rar哲学家吃饭-D : \\ jh \\ philosopher eat \\ DINPHIL.rar philosopher dinner
task3
- ucosii小实验任务3 哲学家就餐,可以帮助学习嵌入式操作系统-ucosii small experimental task three dining philosophers can help embedded operating system
DINING
- 哲学家吃饭的好东东,一定要好好研究研究哦!-philosopher Wanton good meal, we must carefully study a Oh!
Philosophers
- 哲学家进餐问题,进程是独立参与分配资源的最小单位,在有线程的OS中,线程是运行的最小单位, 课堂所述进程之间的同步与互斥,实际上是属于不同进程的线程间的同步与互斥,当 然,属于同一进程的不同线程一样存在同步与互斥,其控制同步与互斥的原理跟进程 是一样的-dining philosophers problem, the process is independent participation in the allocation
zhexue05
- 进程同步,哲学家进餐共享临界区变量.定义信号量机制控制进程不互斥!-process synchronization, philosopher dining area share critical variables. Definition signal to the process control mechanism not contradict!
jiou05
- 奇偶哲学家通过信号量机制控制进程的同步和互斥访问临街区域,保证正常执行!-signal through the volume control mechanism for the process of synchronization and mutex visit to the region along the street to ensure normal execution!
philosophers05
- 经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题.-classical process synchronization and mutex WINDOWS alternative solution. Volume definition signal mechanism in Windows complete the dining philosophers problem.
zhexuejiasuanfa
- 操作系统中的哲学家就餐算法 c语言编写-OS philosopher dine algorithm c language
dinning
- 哲学家进餐的问题,用程序模拟实现,解释死锁的产生、解除以及预防-dining philosophers problem, simulation procedures, explained Deadlock in lifting and prevention
lunch
- 哲学家进餐问题 在多线程中如何避免死锁。 问题描述:有五位哲学家围绕着餐桌坐,每一位哲学家要么思考 要么等待,要么吃饭。为了吃饭,哲学家必须拿起两双筷子(分 别放于左右两端)不幸的是,筷子的数量和哲学家相等,所以每 只筷子必须由两位哲学家共享-dining philosophers problem in multithreaded how to avoid deadlock. Problem descr ipt
63535277productor
- 生产者消费者的JAVA代码,看有没有人需要用,或者大家发个哲学家进餐的代码共同研究!-producers and consumers of Java code, to see no one needs to use You made a philosopher dining code joint research!
VxWorksprogramme
- 摘 要:通过一个经典的多任务同步哲学家进餐问题。介绍了Vxworks下的多任务程序设计和任务间通信机制,并给出了运行的结果 -Abstract : Through a classic multi-task synchronization dining philosophers problem. Vxworks introduced under the multi-task design and process communicati
SimulationoftheDiningPhilosophersProblem
- 计算机仿真的实验,用三种方法模拟了哲学家进餐的过程,图形化的显示过程,用VC++.net开发的。-computer simulation experiments, using three methods to simulate the process of the Dining Philosophers, graphical display process, VC. net development.
zxj
- 哲学家用餐问题 其他人不需帐号就可自由下载此源码 -philosopher mealtime problems other people can not account free download this source
emluatorofphilosopherdine
- 计算机仿真的实验,用三种方法模拟了哲学家进餐的过程,图形化的显示过程,用VC++.net开发的-computer simulation experiments, using three methods to simulate the process of the Dining Philosophers, graphical display process, VC. net development
process_tongbu
- 用win32函数,模拟了哲学家进餐问题,对于初学多线程编程的理解线程之间的同步和死锁问题很有启发性。-using win32 function to simulate the Dining Philosophers, For novice multithreaded programming understanding thread synchronization between the deadlock and very instruc
ChopStickTest
- 哲学家就餐问题java版。我对这个知道的不多,大家可以研究研究。-dining philosophers problem java version. I know this much, and we can studies.
DiningPhilosophor
- 一个哲学家就餐问题的MFC源码,有动画过程.-a philosopher and dine the MFC source code, animation process.