文件名称:chengxu
介绍说明--下载内容均来自于网络,请自行研究使用
进程互斥进程同步
哲学家有N个,也定全体到达后开始讨论:在讨论的间隙哲学家进餐,每人进餐时都需使用刀、叉各一把,所有哲学家刀和叉都拿到后才能进餐。哲学家的人数、餐桌上的布置自行设定,实现刀和叉的互斥使用算法的程序实现。-The philosopher N, also all arrived to begin to discuss: in the discussion of the gap the dining philosophers, each table needs to use knife, fork of a knife and fork, all the philosophers have only after dinner. The number of philosophers, table layout set, to achieve a knife and fork of the exclusive use of the program algorithm.
哲学家有N个,也定全体到达后开始讨论:在讨论的间隙哲学家进餐,每人进餐时都需使用刀、叉各一把,所有哲学家刀和叉都拿到后才能进餐。哲学家的人数、餐桌上的布置自行设定,实现刀和叉的互斥使用算法的程序实现。-The philosopher N, also all arrived to begin to discuss: in the discussion of the gap the dining philosophers, each table needs to use knife, fork of a knife and fork, all the philosophers have only after dinner. The number of philosophers, table layout set, to achieve a knife and fork of the exclusive use of the program algorithm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chengxu.cpp