摘要
介绍了利用管程概念求解哲学家进餐问题的一种方法,并和我们以前的方法进行了比较,结果表明,引入管程概念使程序的模块化程度和可读性有了很大的提高。
A solution to the dining problem of philosophers by utilizing monitor concept is given,which is compared with our former solution. The result shows that the introduction of monitor concept greatly improves modularization and readability of the program.
出处
《长春大学学报》
2015年第12期34-37,共4页
Journal of Changchun University
基金
福建省教育厅A类项目(JA14341)
关键词
管程
哲学家进餐问题
高级别并发对象
monitor
dining problem of philosophers
high-grade concurrent object